#D374DC#D374DC
#D374DC is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.2% C 0.176 H 324.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #D374DC |
|---|---|
| RGB | rgb(211, 116, 220) |
| HSL | hsl(295, 60%, 66%) |
| HSV | hsv(295, 47%, 86%) |
| CMYK | cmyk(4.1%, 47.3%, 0%, 13.7%) |
| CIE-LAB | lab(62.94, 52.40, -37.62) |
| CIE-LCH | lch(62.94, 64.51, 324.32°) |
| OKLab | oklab(70.21% 0.1424 -0.1035) |
| OKLCH | oklch(70.21% 0.176 324) |
| XYZ | xyz(46.0264, 31.5091, 71.3537) |
| Luminance | 0.3151 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.00
Orchid (survey)
#C875C4
ΔE00 4.33
Purply Pink
#F075E6
ΔE00 4.85
Lavender Pink
#DD85D7
ΔE00 5.16
Violet (CSS)
#EE82EE
ΔE00 5.68
Light Magenta
#FA5FF7
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D374DC #7DDC74
analogous
#9F74DC #D374DC #DC74B1
triadic
#D374DC #DCD374 #74DCD3
tetradic
#D374DC #DC9F74 #7DDC74 #74B1DC
square
#D374DC #DC9F74 #7DDC74 #74B1DC
split-complementary
#D374DC #B1DC74 #74DC9F
monochromatic
#A02BAB #C443D0 #D374DC #E2A5E8 #F2D6F5
Accessibility & contrast
On white
2.88
#D374DC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#D374DC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D374DC
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D374DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D374DC | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6791E0
Deuteranopia (green-blind)
#839CD9
Tritanopia (blue-blind)
#D7809E
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #d374dc; /* rgb */ color: rgb(211, 116, 220); /* oklch */ color: oklch(70.2% 0.176 324.0);
Tailwind
colors: {
custom: {
50: '#e29fe7',
500: '#d374dc',
950: '#000000',
},
}SCSS
$custom: #d374dc; $custom-light: #e29fe7; $custom-dark: #000000;
JSON
{
"hex": "#d374dc",
"rgb": {
"r": 211,
"g": 116,
"b": 220
},
"hsl": {
"h": 294.808,
"s": 59.77,
"l": 65.882
},
"oklch": {
"l": 0.70209,
"c": 0.17609,
"h": 324
},
"luminance": 0.31507
}Semantic roles & 50–950 ramp
primary
#D374DC
secondary
#C8E7C5
accent
#C71E2D
background
#FEFAFE
surface
#FCF3FC
border
#D5CDD5
text
#160F16
muted
#847F84