#B162CE#B162CE
#B162CE is a light, vivid purple. Relative luminance 0.225; OKLCH L 62.9% C 0.174 H 316.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #B162CE |
|---|---|
| RGB | rgb(177, 98, 206) |
| HSL | hsl(284, 52%, 60%) |
| HSV | hsv(284, 52%, 81%) |
| CMYK | cmyk(14.1%, 52.4%, 0%, 19.2%) |
| CIE-LAB | lab(54.60, 49.38, -43.12) |
| CIE-LCH | lch(54.60, 65.56, 318.87°) |
| OKLab | oklab(62.93% 0.1254 -0.1201) |
| OKLCH | oklch(62.93% 0.174 316.2) |
| XYZ | xyz(33.6381, 22.5398, 60.9592) |
| Luminance | 0.2254 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.91
Amethyst
#9B5FC0
ΔE00 4.69
Soft Purple
#A66FB5
ΔE00 6.18
Lightish Purple
#A552E6
ΔE00 6.46
Deep Lilac
#966EBD
ΔE00 6.50
Pinky Purple
#C94CBE
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B162CE #7FCE62
analogous
#7B62CE #B162CE #CE62B5
triadic
#B162CE #CEB162 #62CEB1
tetradic
#B162CE #CE7B62 #7FCE62 #62B5CE
square
#B162CE #CE7B62 #7FCE62 #62B5CE
split-complementary
#B162CE #B5CE62 #62CE7B
monochromatic
#712B8A #973AB9 #B162CE #C891DD #DFBFEB
Accessibility & contrast
On white
3.81
#B162CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#B162CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B162CE
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B162CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B162CE | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A7ED2
Deuteranopia (green-blind)
#6385CB
Tritanopia (blue-blind)
#B0738F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #b162ce; /* rgb */ color: rgb(177, 98, 206); /* oklch */ color: oklch(62.9% 0.174 316.2);
Tailwind
colors: {
custom: {
50: '#cb91dd',
500: '#b162ce',
950: '#000000',
},
}SCSS
$custom: #b162ce; $custom-light: #cb91dd; $custom-dark: #000000;
JSON
{
"hex": "#b162ce",
"rgb": {
"r": 177,
"g": 98,
"b": 206
},
"hsl": {
"h": 283.889,
"s": 52.427,
"l": 59.608
},
"oklch": {
"l": 0.62925,
"c": 0.17362,
"h": 316.2
},
"luminance": 0.22539
}Semantic roles & 50–950 ramp
primary
#B162CE
secondary
#BCDBB1
accent
#DC4C73
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83