#D370F2#D370F2
#D370F2 is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 70.8% C 0.204 H 317.6°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #D370F2 |
|---|---|
| RGB | rgb(211, 112, 242) |
| HSL | hsl(286, 83%, 69%) |
| HSV | hsv(286, 54%, 95%) |
| CMYK | cmyk(12.8%, 53.7%, 0%, 5.1%) |
| CIE-LAB | lab(63.22, 58.59, -49.41) |
| CIE-LCH | lch(63.22, 76.64, 319.86°) |
| OKLab | oklab(70.76% 0.1504 -0.1376) |
| OKLCH | oklch(70.76% 0.204 317.6) |
| XYZ | xyz(48.6829, 31.8498, 87.5704) |
| Luminance | 0.3185 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.04
Easter Purple
#C071FE
ΔE00 4.41
Bright Lilac
#C95EFB
ΔE00 4.66
Bright Lavender
#C760FF
ΔE00 4.87
Heliotrope
#D94FF5
ΔE00 5.46
Orchid
#DA70D6
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D370F2 #8FF270
analogous
#9270F2 #D370F2 #F270D0
triadic
#D370F2 #F2D370 #70F2D3
tetradic
#D370F2 #F29270 #8FF270 #70D0F2
square
#D370F2 #F29270 #8FF270 #70D0F2
split-complementary
#D370F2 #D0F270 #70F292
monochromatic
#A613D4 #C238ED #D370F2 #E4A8F7 #F6E0FC
Accessibility & contrast
On white
2.85
#D370F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.37
#D370F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D370F2
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D370F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D370F2 | 1.00 | 2.85 | 7.37 | 7.37 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#759CEF
Tritanopia (blue-blind)
#D284A7
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #d370f2; /* rgb */ color: rgb(211, 112, 242); /* oklch */ color: oklch(70.8% 0.204 317.6);
Tailwind
colors: {
custom: {
50: '#e39df7',
500: '#d370f2',
950: '#000000',
},
}SCSS
$custom: #d370f2; $custom-light: #e39df7; $custom-dark: #000000;
JSON
{
"hex": "#d370f2",
"rgb": {
"r": 211,
"g": 112,
"b": 242
},
"hsl": {
"h": 285.692,
"s": 83.333,
"l": 69.412
},
"oklch": {
"l": 0.70756,
"c": 0.20383,
"h": 317.6
},
"luminance": 0.31848
}Semantic roles & 50–950 ramp
primary
#D370F2
secondary
#D5F2CC
accent
#E0063A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85