#D162F2#D162F2
#D162F2 is a light, highly saturated purple. Relative luminance 0.287; OKLCH L 68.7% C 0.223 H 317.8°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #D162F2 |
|---|---|
| RGB | rgb(209, 98, 242) |
| HSL | hsl(286, 85%, 67%) |
| HSV | hsv(286, 60%, 95%) |
| CMYK | cmyk(13.6%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(60.52, 64.69, -53.71) |
| CIE-LCH | lch(60.52, 84.08, 320.30°) |
| OKLab | oklab(68.73% 0.1655 -0.15) |
| OKLCH | oklch(68.73% 0.223 317.8) |
| XYZ | xyz(46.6869, 28.7033, 87.0682) |
| Luminance | 0.2870 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.45
Heliotrope
#D94FF5
ΔE00 2.83
Bright Lavender
#C760FF
ΔE00 3.02
Easter Purple
#C071FE
ΔE00 4.60
Light Purple
#BF77F6
ΔE00 5.07
Light Urple
#B36FF6
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D162F2 #83F262
analogous
#8962F2 #D162F2 #F262CB
triadic
#D162F2 #F2D162 #62F2D1
tetradic
#D162F2 #F28962 #83F262 #62CBF2
square
#D162F2 #F28962 #83F262 #62CBF2
split-complementary
#D162F2 #CBF262 #62F289
monochromatic
#9F11C9 #C029ED #D162F2 #E29BF7 #F2D3FB
Accessibility & contrast
On white
3.12
#D162F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.74
#D162F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D162F2
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D162F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D162F2 | 1.00 | 3.12 | 6.74 | 6.74 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B8BF6
Deuteranopia (green-blind)
#6796EE
Tritanopia (blue-blind)
#D07AA1
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #d162f2; /* rgb */ color: rgb(209, 98, 242); /* oklch */ color: oklch(68.7% 0.223 317.8);
Tailwind
colors: {
custom: {
50: '#e294f7',
500: '#d162f2',
950: '#000000',
},
}SCSS
$custom: #d162f2; $custom-light: #e294f7; $custom-dark: #000000;
JSON
{
"hex": "#d162f2",
"rgb": {
"r": 209,
"g": 98,
"b": 242
},
"hsl": {
"h": 286.25,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.68729,
"c": 0.22338,
"h": 317.8
},
"luminance": 0.28701
}Semantic roles & 50–950 ramp
primary
#D162F2
secondary
#CBEFC1
accent
#E10437
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85