#D162F3#D162F3
#D162F3 is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 68.8% C 0.224 H 317.5°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #D162F3 |
|---|---|
| RGB | rgb(209, 98, 243) |
| HSL | hsl(286, 86%, 67%) |
| HSV | hsv(286, 60%, 95%) |
| CMYK | cmyk(14%, 59.7%, 0%, 4.7%) |
| CIE-LAB | lab(60.57, 64.88, -54.18) |
| CIE-LCH | lch(60.57, 84.52, 320.14°) |
| OKLab | oklab(68.79% 0.1655 -0.1514) |
| OKLCH | oklch(68.79% 0.224 317.5) |
| XYZ | xyz(46.8375, 28.7636, 87.8614) |
| Luminance | 0.2876 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.34
Heliotrope
#D94FF5
ΔE00 2.84
Bright Lavender
#C760FF
ΔE00 2.90
Easter Purple
#C071FE
ΔE00 4.51
Light Purple
#BF77F6
ΔE00 5.01
Light Urple
#B36FF6
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D162F3 #84F362
analogous
#8962F3 #D162F3 #F362CD
triadic
#D162F3 #F3D162 #62F3D1
tetradic
#D162F3 #F38962 #84F362 #62CDF3
square
#D162F3 #F38962 #84F362 #62CDF3
split-complementary
#D162F3 #CDF362 #62F389
monochromatic
#9F10CB #C029EF #D162F3 #E29BF7 #F2D4FC
Accessibility & contrast
On white
3.11
#D162F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.75
#D162F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D162F3
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D162F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D162F3 | 1.00 | 3.11 | 6.75 | 6.75 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A8BF8
Deuteranopia (green-blind)
#6796EF
Tritanopia (blue-blind)
#D07AA2
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #d162f3; /* rgb */ color: rgb(209, 98, 243); /* oklch */ color: oklch(68.8% 0.224 317.5);
Tailwind
colors: {
custom: {
50: '#e294f8',
500: '#d162f3',
950: '#000000',
},
}SCSS
$custom: #d162f3; $custom-light: #e294f8; $custom-dark: #000000;
JSON
{
"hex": "#d162f3",
"rgb": {
"r": 209,
"g": 98,
"b": 243
},
"hsl": {
"h": 285.931,
"s": 85.799,
"l": 66.863
},
"oklch": {
"l": 0.68785,
"c": 0.22432,
"h": 317.5
},
"luminance": 0.28762
}Semantic roles & 50–950 ramp
primary
#D162F3
secondary
#CCF0C1
accent
#E20338
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85