#D262E2#D262E2
#D262E2 is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.0% C 0.209 H 322.5°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #D262E2 |
|---|---|
| RGB | rgb(210, 98, 226) |
| HSL | hsl(293, 69%, 64%) |
| HSV | hsv(293, 57%, 89%) |
| CMYK | cmyk(7.1%, 56.6%, 0%, 11.4%) |
| CIE-LAB | lab(59.83, 61.91, -45.88) |
| CIE-LCH | lch(59.83, 77.06, 323.46°) |
| OKLab | oklab(67.98% 0.1658 -0.1272) |
| OKLCH | oklch(67.98% 0.209 322.5) |
| XYZ | xyz(44.6721, 27.9302, 74.9748) |
| Luminance | 0.2793 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.80
Pinkish Purple
#D648D7
ΔE00 4.57
Orchid
#DA70D6
ΔE00 4.64
Bright Lilac
#C95EFB
ΔE00 4.72
Bright Lavender
#C760FF
ΔE00 5.39
Mediumorchid
#BA55D3
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D262E2 #72E262
analogous
#9262E2 #D262E2 #E262B2
triadic
#D262E2 #E2D262 #62E2D2
tetradic
#D262E2 #E29262 #72E262 #62B2E2
square
#D262E2 #E29262 #72E262 #62B2E2
split-complementary
#D262E2 #B2E262 #62E292
monochromatic
#991FAA #C32ED8 #D262E2 #E196EC #F0C9F5
Accessibility & contrast
On white
3.19
#D262E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#D262E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D262E2
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D262E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D262E2 | 1.00 | 3.19 | 6.59 | 6.59 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B88E6
Deuteranopia (green-blind)
#7295DF
Tritanopia (blue-blind)
#D57499
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #d262e2; /* rgb */ color: rgb(210, 98, 226); /* oklch */ color: oklch(68.0% 0.209 322.5);
Tailwind
colors: {
custom: {
50: '#e394eb',
500: '#d262e2',
950: '#000000',
},
}SCSS
$custom: #d262e2; $custom-light: #e394eb; $custom-dark: #000000;
JSON
{
"hex": "#d262e2",
"rgb": {
"r": 210,
"g": 98,
"b": 226
},
"hsl": {
"h": 292.5,
"s": 68.817,
"l": 63.529
},
"oklch": {
"l": 0.67984,
"c": 0.20902,
"h": 322.5
},
"luminance": 0.27928
}Semantic roles & 50–950 ramp
primary
#D262E2
secondary
#BFE7B9
accent
#D1152C
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84