#540CCF

#540CCF

#87CF0C

#87CF0C

Contrast Ratio

4.7:1

Delta E

199.26

Very Different

50:50 Mix

Color Values

Format #540CCF #87CF0C
HEX #540CCF #87CF0C
RGB 84, 12, 207 135, 207, 12
HSL 262.2, 89.0%, 42.9% 82.2, 89.0%, 42.9%
HSV 262.2, 94.2%, 81.2% 82.2, 94.2%, 81.2%
CMYK 59.4%, 94.2%, 0.0%, 18.8% 34.8%, 0.0%, 94.2%, 18.8%
OKLCH 0.4374 0.2473 286.1 0.7769 0.2083 130.5

Contrast & Accessibility

4.7:1
AA Pass AA Large Pass AAA Fail AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #87CF0C β†’ Background: #540CCF

The quick brown fox jumps over the lazy dog

Text: #540CCF β†’ Background: #87CF0C

Color Difference (Delta E)

199.26 Very Different
0 β€” Identical 5 β€” Similar 25 β€” Noticeable 100 β€” Very Different

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #540CCF, #87CF0C);
background: linear-gradient(135deg, #540CCF, #87CF0C);

Explore Each Color

Related Comparisons