#D174F2#D174F2
#D174F2 is a light, vivid purple. Relative luminance 0.325; OKLCH L 71.1% C 0.197 H 316.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #D174F2 |
|---|---|
| RGB | rgb(209, 116, 242) |
| HSL | hsl(284, 83%, 70%) |
| HSV | hsv(284, 52%, 95%) |
| CMYK | cmyk(13.6%, 52.1%, 0%, 5.1%) |
| CIE-LAB | lab(63.72, 56.11, -48.63) |
| CIE-LCH | lch(63.72, 74.25, 319.08°) |
| OKLab | oklab(71.07% 0.1429 -0.1354) |
| OKLCH | oklch(71.07% 0.197 316.5) |
| XYZ | xyz(48.5645, 32.4585, 87.6941) |
| Luminance | 0.3246 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.61
Easter Purple
#C071FE
ΔE00 4.26
Bright Lilac
#C95EFB
ΔE00 5.17
Bright Lavender
#C760FF
ΔE00 5.29
Orchid
#DA70D6
ΔE00 5.64
Light Urple
#B36FF6
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D174F2 #95F274
analogous
#9274F2 #D174F2 #F274D4
triadic
#D174F2 #F2D174 #74F2D1
tetradic
#D174F2 #F29274 #95F274 #74D4F2
square
#D174F2 #F29274 #95F274 #74D4F2
split-complementary
#D174F2 #D4F274 #74F292
monochromatic
#A414D7 #BE3CED #D174F2 #E4ACF7 #F6E3FC
Accessibility & contrast
On white
2.80
#D174F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.49
#D174F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D174F2
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D174F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D174F2 | 1.00 | 2.80 | 7.49 | 7.49 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#769DEF
Tritanopia (blue-blind)
#D087A8
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #d174f2; /* rgb */ color: rgb(209, 116, 242); /* oklch */ color: oklch(71.1% 0.197 316.5);
Tailwind
colors: {
custom: {
50: '#e19ff7',
500: '#d174f2',
950: '#000000',
},
}SCSS
$custom: #d174f2; $custom-light: #e19ff7; $custom-dark: #000000;
JSON
{
"hex": "#d174f2",
"rgb": {
"r": 209,
"g": 116,
"b": 242
},
"hsl": {
"h": 284.286,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.71073,
"c": 0.19684,
"h": 316.5
},
"luminance": 0.32457
}Semantic roles & 50–950 ramp
primary
#D174F2
secondary
#D9F2CF
accent
#DF063F
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85