#D374F2#D374F2
#D374F2 is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.3% C 0.198 H 317.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #D374F2 |
|---|---|
| RGB | rgb(211, 116, 242) |
| HSL | hsl(285, 83%, 70%) |
| HSV | hsv(285, 52%, 95%) |
| CMYK | cmyk(12.8%, 52.1%, 0%, 5.1%) |
| CIE-LAB | lab(63.96, 56.63, -48.24) |
| CIE-LCH | lch(63.96, 74.39, 319.58°) |
| OKLab | oklab(71.3% 0.1452 -0.1342) |
| OKLCH | oklch(71.3% 0.198 317.3) |
| XYZ | xyz(49.1341, 32.7522, 87.7208) |
| Luminance | 0.3275 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.96
Easter Purple
#C071FE
ΔE00 4.60
Bright Lilac
#C95EFB
ΔE00 5.37
Orchid
#DA70D6
ΔE00 5.42
Bright Lavender
#C760FF
ΔE00 5.52
Violet Pink
#FB5FFC
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D374F2 #93F274
analogous
#9474F2 #D374F2 #F274D2
triadic
#D374F2 #F2D374 #74F2D3
tetradic
#D374F2 #F29474 #93F274 #74D2F2
square
#D374F2 #F29474 #93F274 #74D2F2
split-complementary
#D374F2 #D2F274 #74F294
monochromatic
#A714D7 #C13CED #D374F2 #E5ACF7 #F6E3FC
Accessibility & contrast
On white
2.78
#D374F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.55
#D374F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D374F2
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D374F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D374F2 | 1.00 | 2.78 | 7.55 | 7.55 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#D287A8
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #d374f2; /* rgb */ color: rgb(211, 116, 242); /* oklch */ color: oklch(71.3% 0.198 317.3);
Tailwind
colors: {
custom: {
50: '#e39ff7',
500: '#d374f2',
950: '#000000',
},
}SCSS
$custom: #d374f2; $custom-light: #e39ff7; $custom-dark: #000000;
JSON
{
"hex": "#d374f2",
"rgb": {
"r": 211,
"g": 116,
"b": 242
},
"hsl": {
"h": 285.238,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.71302,
"c": 0.19772,
"h": 317.3
},
"luminance": 0.3275
}Semantic roles & 50–950 ramp
primary
#D374F2
secondary
#D8F2CF
accent
#DF063C
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85