#EA7BF2#EA7BF2
#EA7BF2 is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.9% C 0.199 H 324.8°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #EA7BF2 |
|---|---|
| RGB | rgb(234, 123, 242) |
| HSL | hsl(296, 82%, 72%) |
| HSV | hsv(296, 49%, 95%) |
| CMYK | cmyk(3.3%, 49.2%, 0%, 5.1%) |
| CIE-LAB | lab(68.07, 59.36, -41.58) |
| CIE-LCH | lch(68.07, 72.47, 324.99°) |
| OKLab | oklab(74.94% 0.1622 -0.1145) |
| OKLCH | oklch(74.94% 0.199 324.8) |
| XYZ | xyz(57.0403, 38.0720, 88.3313) |
| Luminance | 0.3807 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.06
Purply Pink
#F075E6
ΔE00 2.63
Light Magenta
#FA5FF7
ΔE00 4.51
Violet Pink
#FB5FFC
ΔE00 4.60
Candy Pink
#FF63E9
ΔE00 4.88
Orchid
#DA70D6
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EA7BF2 #83F27B
analogous
#AF7BF2 #EA7BF2 #F27BBF
triadic
#EA7BF2 #F2EA7B #7BF2EA
tetradic
#EA7BF2 #F2AF7B #83F27B #7BBFF2
square
#EA7BF2 #F2AF7B #83F27B #7BBFF2
split-complementary
#EA7BF2 #BFF27B #7BF2AF
monochromatic
#CF16DD #E143ED #EA7BF2 #F3B3F7 #FBE3FC
Accessibility & contrast
On white
2.44
#EA7BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.61
#EA7BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EA7BF2
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EA7BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EA7BF2 | 1.00 | 2.44 | 8.61 | 8.61 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#8EABEF
Tritanopia (blue-blind)
#EF89AC
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #ea7bf2; /* rgb */ color: rgb(234, 123, 242); /* oklch */ color: oklch(74.9% 0.199 324.8);
Tailwind
colors: {
custom: {
50: '#f3a5f7',
500: '#ea7bf2',
950: '#000000',
},
}SCSS
$custom: #ea7bf2; $custom-light: #f3a5f7; $custom-dark: #000000;
JSON
{
"hex": "#ea7bf2",
"rgb": {
"r": 234,
"g": 123,
"b": 242
},
"hsl": {
"h": 295.966,
"s": 82.069,
"l": 71.569
},
"oklch": {
"l": 0.74939,
"c": 0.1985,
"h": 324.8
},
"luminance": 0.38069
}Semantic roles & 50–950 ramp
primary
#EA7BF2
secondary
#D7F4D5
accent
#DE0716
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85