black

#000000

#AF87D7

#AF87D7

Contrast Ratio

7.27:1

Delta E

78.3

Very Different

50:50 Mix

Color Values

Format #000000 #AF87D7
HEX #000000 #AF87D7
RGB 0, 0, 0 175, 135, 215
HSL 0.0, 0.0%, 0.0% 270.0, 50.0%, 68.6%
HSV 0.0, 0.0%, 0.0% 270.0, 37.2%, 84.3%
CMYK 0%, 0%, 0%, 100% 18.6%, 37.2%, 0.0%, 15.7%
OKLCH 0.0 0.0 0.0 0.6915 0.1216 306.4

Contrast & Accessibility

7.27:1
AA Pass AA Large Pass AAA Pass AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #AF87D7 → Background: #000000

The quick brown fox jumps over the lazy dog

Text: #000000 → Background: #AF87D7

Color Difference (Delta E)

78.3 Very Different
0 — Identical 5 — Similar 25 — Noticeable 100 — Very Different

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #000000, #AF87D7);
background: linear-gradient(135deg, #000000, #AF87D7);

Explore Each Color

Related Comparisons