#DD7EF2#DD7EF2
#DD7EF2 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.8% C 0.187 H 320.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #DD7EF2 |
|---|---|
| RGB | rgb(221, 126, 242) |
| HSL | hsl(289, 82%, 72%) |
| HSV | hsv(289, 48%, 95%) |
| CMYK | cmyk(8.7%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(67.06, 54.33, -43.28) |
| CIE-LCH | lch(67.06, 69.46, 321.46°) |
| OKLab | oklab(73.85% 0.1434 -0.1197) |
| OKLCH | oklch(73.85% 0.187 320.2) |
| XYZ | xyz(53.3047, 36.7067, 88.2644) |
| Luminance | 0.3670 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.69
Purply Pink
#F075E6
ΔE00 4.54
Orchid
#DA70D6
ΔE00 5.17
Lavender Pink
#DD85D7
ΔE00 5.65
Light Magenta
#FA5FF7
ΔE00 5.96
Violet Pink
#FB5FFC
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DD7EF2 #93F27E
analogous
#A37EF2 #DD7EF2 #F27ECD
triadic
#DD7EF2 #F2DD7E #7EF2DD
tetradic
#DD7EF2 #F2A37E #93F27E #7ECDF2
square
#DD7EF2 #F2A37E #93F27E #7ECDF2
split-complementary
#DD7EF2 #CDF27E #7EF2A3
monochromatic
#BB16DF #CE46EC #DD7EF2 #ECB6F8 #F8E3FC
Accessibility & contrast
On white
2.52
#DD7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#DD7EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DD7EF2
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DD7EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DD7EF2 | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9DF6
Deuteranopia (green-blind)
#87A7EF
Tritanopia (blue-blind)
#DE8EAD
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #dd7ef2; /* rgb */ color: rgb(221, 126, 242); /* oklch */ color: oklch(73.8% 0.187 320.2);
Tailwind
colors: {
custom: {
50: '#eaa6f7',
500: '#dd7ef2',
950: '#000000',
},
}SCSS
$custom: #dd7ef2; $custom-light: #eaa6f7; $custom-dark: #000000;
JSON
{
"hex": "#dd7ef2",
"rgb": {
"r": 221,
"g": 126,
"b": 242
},
"hsl": {
"h": 289.138,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.73848,
"c": 0.1868,
"h": 320.2
},
"luminance": 0.36705
}Semantic roles & 50–950 ramp
primary
#DD7EF2
secondary
#DCF4D7
accent
#DE072E
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85