#D373F2#D373F2
#D373F2 is a light, vivid purple. Relative luminance 0.325; OKLCH L 71.2% C 0.199 H 317.3°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #D373F2 |
|---|---|
| RGB | rgb(211, 115, 242) |
| HSL | hsl(285, 83%, 70%) |
| HSV | hsv(285, 52%, 95%) |
| CMYK | cmyk(12.8%, 52.5%, 0%, 5.1%) |
| CIE-LAB | lab(63.77, 57.12, -48.53) |
| CIE-LCH | lch(63.77, 74.96, 319.65°) |
| OKLab | oklab(71.16% 0.1465 -0.135) |
| OKLCH | oklch(71.16% 0.199 317.3) |
| XYZ | xyz(49.0194, 32.5229, 87.6826) |
| Luminance | 0.3252 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.96
Easter Purple
#C071FE
ΔE00 4.54
Bright Lilac
#C95EFB
ΔE00 5.19
Bright Lavender
#C760FF
ΔE00 5.35
Orchid
#DA70D6
ΔE00 5.42
Heliotrope
#D94FF5
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D373F2 #92F273
analogous
#9373F2 #D373F2 #F273D2
triadic
#D373F2 #F2D373 #73F2D3
tetradic
#D373F2 #F29373 #92F273 #73D2F2
square
#D373F2 #F29373 #92F273 #73D2F2
split-complementary
#D373F2 #D2F273 #73F293
monochromatic
#A714D7 #C13BED #D373F2 #E5ABF7 #F6E3FC
Accessibility & contrast
On white
2.80
#D373F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.50
#D373F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D373F2
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D373F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D373F2 | 1.00 | 2.80 | 7.50 | 7.50 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#D286A8
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #d373f2; /* rgb */ color: rgb(211, 115, 242); /* oklch */ color: oklch(71.2% 0.199 317.3);
Tailwind
colors: {
custom: {
50: '#e39ff7',
500: '#d373f2',
950: '#000000',
},
}SCSS
$custom: #d373f2; $custom-light: #e39ff7; $custom-dark: #000000;
JSON
{
"hex": "#d373f2",
"rgb": {
"r": 211,
"g": 115,
"b": 242
},
"hsl": {
"h": 285.354,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.71164,
"c": 0.19927,
"h": 317.3
},
"luminance": 0.32521
}Semantic roles & 50–950 ramp
primary
#D373F2
secondary
#D7F2CF
accent
#DF063B
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85