#D392FC#D392FC
#D392FC is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.3% C 0.160 H 311.3°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #D392FC |
|---|---|
| RGB | rgb(211, 146, 252) |
| HSL | hsl(277, 95%, 78%) |
| HSV | hsv(277, 42%, 99%) |
| CMYK | cmyk(16.3%, 42.1%, 0%, 1.2%) |
| CIE-LAB | lab(70.48, 43.16, -43.47) |
| CIE-LCH | lch(70.48, 61.26, 314.80°) |
| OKLab | oklab(76.31% 0.1059 -0.1205) |
| OKLCH | oklch(76.31% 0.16 311.3) |
| XYZ | xyz(54.7104, 41.4359, 97.1924) |
| Luminance | 0.4143 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 3.13
Liliac
#C48EFD
ΔE00 3.15
Pastel Purple
#CAA0FF
ΔE00 4.27
Lilac (survey)
#CEA2FD
ΔE00 4.32
Lavender (survey)
#C79FEF
ΔE00 4.99
Violet (CSS)
#EE82EE
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D392FC #BBFC92
analogous
#9E92FC #D392FC #FC92F0
triadic
#D392FC #FCD392 #92FCD3
tetradic
#D392FC #FC9E92 #BBFC92 #92F0FC
square
#D392FC #FC9E92 #BBFC92 #92F0FC
split-complementary
#D392FC #F0FC92 #92FC9E
monochromatic
#A31BF9 #BB56FA #D392FC #EBCEFE #F3E1FE
Accessibility & contrast
On white
2.26
#D392FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.29
#D392FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D392FC
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D392FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D392FC | 1.00 | 2.26 | 9.29 | 9.29 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#8DAEF9
Tritanopia (blue-blind)
#CFA2BB
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #d392fc; /* rgb */ color: rgb(211, 146, 252); /* oklch */ color: oklch(76.3% 0.160 311.3);
Tailwind
colors: {
custom: {
50: '#e2b3fe',
500: '#d392fc',
950: '#000000',
},
}SCSS
$custom: #d392fc; $custom-light: #e2b3fe; $custom-dark: #000000;
JSON
{
"hex": "#d392fc",
"rgb": {
"r": 211,
"g": 146,
"b": 252
},
"hsl": {
"h": 276.792,
"s": 94.643,
"l": 78.039
},
"oklch": {
"l": 0.76306,
"c": 0.16047,
"h": 311.3
},
"luminance": 0.41435
}Semantic roles & 50–950 ramp
primary
#D392FC
secondary
#E2F6D5
accent
#E60059
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086