#EC82F2#EC82F2
#EC82F2 is a light, vivid purple. Relative luminance 0.402; OKLCH L 76.1% C 0.189 H 325.2°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #EC82F2 |
|---|---|
| RGB | rgb(236, 130, 242) |
| HSL | hsl(297, 81%, 73%) |
| HSV | hsv(297, 46%, 95%) |
| CMYK | cmyk(2.5%, 46.3%, 0%, 5.1%) |
| CIE-LAB | lab(69.62, 56.50, -39.14) |
| CIE-LCH | lch(69.62, 68.74, 325.29°) |
| OKLab | oklab(76.14% 0.1549 -0.1075) |
| OKLCH | oklch(76.14% 0.189 325.2) |
| XYZ | xyz(58.6004, 40.2118, 88.6621) |
| Luminance | 0.4021 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 0.92
Purply Pink
#F075E6
ΔE00 3.07
Lavender Pink
#DD85D7
ΔE00 4.74
Candy Pink
#FF63E9
ΔE00 5.62
Light Magenta
#FA5FF7
ΔE00 5.73
Orchid
#DA70D6
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC82F2 #88F282
analogous
#B482F2 #EC82F2 #F282C0
triadic
#EC82F2 #F2EC82 #82F2EC
tetradic
#EC82F2 #F2B482 #88F282 #82C0F2
square
#EC82F2 #F2B482 #88F282 #82C0F2
split-complementary
#EC82F2 #C0F282 #82F2B4
monochromatic
#D718E2 #E44BEC #EC82F2 #F4B9F8 #FBE3FC
Accessibility & contrast
On white
2.32
#EC82F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#EC82F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC82F2
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC82F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC82F2 | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76A2F6
Deuteranopia (green-blind)
#94AFEF
Tritanopia (blue-blind)
#F18FAF
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #ec82f2; /* rgb */ color: rgb(236, 130, 242); /* oklch */ color: oklch(76.1% 0.189 325.2);
Tailwind
colors: {
custom: {
50: '#f4a9f6',
500: '#ec82f2',
950: '#000000',
},
}SCSS
$custom: #ec82f2; $custom-light: #f4a9f6; $custom-dark: #000000;
JSON
{
"hex": "#ec82f2",
"rgb": {
"r": 236,
"g": 130,
"b": 242
},
"hsl": {
"h": 296.786,
"s": 81.159,
"l": 72.941
},
"oklch": {
"l": 0.76137,
"c": 0.18857,
"h": 325.2
},
"luminance": 0.40209
}Semantic roles & 50–950 ramp
primary
#EC82F2
secondary
#D9F4D7
accent
#DE0813
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85