#EC7BE2#EC7BE2
#EC7BE2 is a light, vivid purple. Relative luminance 0.375; OKLCH L 74.5% C 0.186 H 330.6°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #EC7BE2 |
|---|---|
| RGB | rgb(236, 123, 226) |
| HSL | hsl(305, 75%, 70%) |
| HSV | hsv(305, 48%, 93%) |
| CMYK | cmyk(0%, 47.9%, 4.2%, 7.5%) |
| CIE-LAB | lab(67.65, 57.13, -33.39) |
| CIE-LCH | lch(67.65, 66.17, 329.69°) |
| OKLab | oklab(74.45% 0.1618 -0.091) |
| OKLCH | oklch(74.45% 0.186 330.6) |
| XYZ | xyz(55.4020, 37.4930, 76.2555) |
| Luminance | 0.3749 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.36
Violet (CSS)
#EE82EE
ΔE00 2.21
Lavender Pink
#DD85D7
ΔE00 3.45
Orchid
#DA70D6
ΔE00 4.06
Candy Pink
#FF63E9
ΔE00 4.29
Light Magenta
#FA5FF7
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC7BE2 #7BEC85
analogous
#BE7BEC #EC7BE2 #EC7BA9
triadic
#EC7BE2 #E2EC7B #7BE2EC
tetradic
#EC7BE2 #ECBE7B #7BEC85 #7BA9EC
square
#EC7BE2 #ECBE7B #7BEC85 #7BA9EC
split-complementary
#EC7BE2 #A9EC7B #7BECBE
monochromatic
#CF1EBF #E446D6 #EC7BE2 #F4B0EE #FBE4F9
Accessibility & contrast
On white
2.47
#EC7BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#EC7BE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC7BE2
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC7BE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC7BE2 | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#769BE5
Deuteranopia (green-blind)
#96AADF
Tritanopia (blue-blind)
#F484A4
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #ec7be2; /* rgb */ color: rgb(236, 123, 226); /* oklch */ color: oklch(74.5% 0.186 330.6);
Tailwind
colors: {
custom: {
50: '#f4a5eb',
500: '#ec7be2',
950: '#000000',
},
}SCSS
$custom: #ec7be2; $custom-light: #f4a5eb; $custom-dark: #000000;
JSON
{
"hex": "#ec7be2",
"rgb": {
"r": 236,
"g": 123,
"b": 226
},
"hsl": {
"h": 305.31,
"s": 74.834,
"l": 70.392
},
"oklch": {
"l": 0.74452,
"c": 0.18561,
"h": 330.6
},
"luminance": 0.3749
}Semantic roles & 50–950 ramp
primary
#EC7BE2
secondary
#D2F1D5
accent
#D7200F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84