#D162FC#D162FC
#D162FC is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.3% C 0.233 H 315.3°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D162FC |
|---|---|
| RGB | rgb(209, 98, 252) |
| HSL | hsl(283, 96%, 69%) |
| HSV | hsv(283, 61%, 99%) |
| CMYK | cmyk(17.1%, 61.1%, 0%, 1.2%) |
| CIE-LAB | lab(61.06, 66.64, -58.37) |
| CIE-LCH | lch(61.06, 88.59, 318.78°) |
| OKLab | oklab(69.3% 0.1656 -0.1637) |
| OKLCH | oklch(69.3% 0.233 315.3) |
| XYZ | xyz(48.2301, 29.3206, 95.1954) |
| Luminance | 0.2932 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 1.75
Bright Lavender
#C760FF
ΔE00 2.04
Heliotrope
#D94FF5
ΔE00 3.22
Easter Purple
#C071FE
ΔE00 3.82
Light Purple
#BF77F6
ΔE00 4.71
Light Urple
#B36FF6
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D162FC #8DFC62
analogous
#8462FC #D162FC #FC62DA
triadic
#D162FC #FCD162 #62FCD1
tetradic
#D162FC #FC8462 #8DFC62 #62DAFC
square
#D162FC #FC8462 #8DFC62 #62DAFC
split-complementary
#D162FC #DAFC62 #62FC84
monochromatic
#A204DF #BF26FB #D162FC #E39EFD #F4DAFE
Accessibility & contrast
On white
3.06
#D162FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#D162FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D162FC
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D162FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D162FC | 1.00 | 3.06 | 6.86 | 6.86 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D8DFF
Deuteranopia (green-blind)
#6096F8
Tritanopia (blue-blind)
#CE7EA6
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #d162fc; /* rgb */ color: rgb(209, 98, 252); /* oklch */ color: oklch(69.3% 0.233 315.3);
Tailwind
colors: {
custom: {
50: '#e395fe',
500: '#d162fc',
950: '#000000',
},
}SCSS
$custom: #d162fc; $custom-light: #e395fe; $custom-dark: #000000;
JSON
{
"hex": "#d162fc",
"rgb": {
"r": 209,
"g": 98,
"b": 252
},
"hsl": {
"h": 283.247,
"s": 96.25,
"l": 68.627
},
"oklch": {
"l": 0.693,
"c": 0.23283,
"h": 315.3
},
"luminance": 0.29319
}Semantic roles & 50–950 ramp
primary
#D162FC
secondary
#D3F4C6
accent
#E60040
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86