#B162DE#B162DE
#B162DE is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.8% C 0.191 H 311.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B162DE |
|---|---|
| RGB | rgb(177, 98, 222) |
| HSL | hsl(278, 65%, 63%) |
| HSV | hsv(278, 56%, 87%) |
| CMYK | cmyk(20.3%, 55.9%, 0%, 12.9%) |
| CIE-LAB | lab(55.44, 52.77, -50.85) |
| CIE-LCH | lch(55.44, 73.28, 316.06°) |
| OKLab | oklab(63.82% 0.1265 -0.1426) |
| OKLCH | oklch(63.82% 0.191 311.6) |
| XYZ | xyz(35.6816, 23.3572, 71.7218) |
| Luminance | 0.2336 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.70
Light Urple
#B36FF6
ΔE00 4.82
Lighter Purple
#A55AF4
ΔE00 4.84
Lightish Purple
#A552E6
ΔE00 4.92
Bright Lilac
#C95EFB
ΔE00 5.10
Bright Lavender
#C760FF
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B162DE #8FDE62
analogous
#7362DE #B162DE #DE62CD
triadic
#B162DE #DEB162 #62DEB1
tetradic
#B162DE #DE7362 #8FDE62 #62CDDE
square
#B162DE #DE7362 #8FDE62 #62CDDE
split-complementary
#B162DE #CDDE62 #62DE73
monochromatic
#7422A3 #982FD3 #B162DE #CA95E9 #E3C7F3
Accessibility & contrast
On white
3.70
#B162DE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#B162DE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B162DE
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B162DE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B162DE | 1.00 | 3.70 | 5.67 | 5.67 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C81E2
Deuteranopia (green-blind)
#5986DB
Tritanopia (blue-blind)
#AC7897
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #b162de; /* rgb */ color: rgb(177, 98, 222); /* oklch */ color: oklch(63.8% 0.191 311.6);
Tailwind
colors: {
custom: {
50: '#cb92e9',
500: '#b162de',
950: '#000000',
},
}SCSS
$custom: #b162de; $custom-light: #cb92e9; $custom-dark: #000000;
JSON
{
"hex": "#b162de",
"rgb": {
"r": 177,
"g": 98,
"b": 222
},
"hsl": {
"h": 278.226,
"s": 65.263,
"l": 62.745
},
"oklch": {
"l": 0.63818,
"c": 0.19063,
"h": 311.6
},
"luminance": 0.23356
}Semantic roles & 50–950 ramp
primary
#B162DE
secondary
#C8E4B7
accent
#CD185A
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84