#D22FF2#D22FF2
#D22FF2 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 64.2% C 0.280 H 320.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #D22FF2 |
|---|---|
| RGB | rgb(210, 47, 242) |
| HSL | hsl(290, 88%, 57%) |
| HSV | hsv(290, 81%, 95%) |
| CMYK | cmyk(13.2%, 80.6%, 0%, 5.1%) |
| CIE-LAB | lab(54.18, 83.16, -63.84) |
| CIE-LCH | lch(54.18, 104.84, 322.49°) |
| OKLab | oklab(64.22% 0.2148 -0.1793) |
| OKLCH | oklch(64.22% 0.28 320.1) |
| XYZ | xyz(43.6199, 22.1478, 85.9645) |
| Luminance | 0.2215 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple Pink
#D725DE
ΔE00 3.18
Hot Purple
#CB00F5
ΔE00 3.51
Heliotrope
#D94FF5
ΔE00 4.75
Pinkish Purple
#D648D7
ΔE00 5.18
Pink Purple
#EF1DE7
ΔE00 5.31
Neon Purple
#BC13FE
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D22FF2 #4FF22F
analogous
#712FF2 #D22FF2 #F22FB0
triadic
#D22FF2 #F2D22F #2FF2D2
tetradic
#D22FF2 #F2712F #4FF22F #2FB0F2
square
#D22FF2 #F2712F #4FF22F #2FB0F2
split-complementary
#D22FF2 #B0F22F #2FF271
monochromatic
#850A9D #B50DD6 #D22FF2 #DE69F6 #EBA2F9
Accessibility & contrast
On white
3.87
#D22FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#D22FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D22FF2
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D22FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D22FF2 | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#4587EE
Tritanopia (blue-blind)
#D35C93
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #d22ff2; /* rgb */ color: rgb(210, 47, 242); /* oklch */ color: oklch(64.2% 0.280 320.1);
Tailwind
colors: {
custom: {
50: '#e57cf7',
500: '#d22ff2',
950: '#000000',
},
}SCSS
$custom: #d22ff2; $custom-light: #e57cf7; $custom-dark: #000000;
JSON
{
"hex": "#d22ff2",
"rgb": {
"r": 210,
"g": 47,
"b": 242
},
"hsl": {
"h": 290.154,
"s": 88.235,
"l": 56.667
},
"oklch": {
"l": 0.64225,
"c": 0.27979,
"h": 320.1
},
"luminance": 0.22145
}Semantic roles & 50–950 ramp
primary
#D22FF2
secondary
#A4E697
accent
#FE294C
background
#FEF8FF
surface
#FDEFFF
border
#D5CAD7
text
#160B17
muted
#847C85