#B162DB#B162DB
#B162DB is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.6% C 0.187 H 312.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B162DB |
|---|---|
| RGB | rgb(177, 98, 219) |
| HSL | hsl(279, 63%, 62%) |
| HSV | hsv(279, 55%, 86%) |
| CMYK | cmyk(19.2%, 55.3%, 0%, 14.1%) |
| CIE-LAB | lab(55.28, 52.12, -49.41) |
| CIE-LCH | lch(55.28, 71.82, 316.53°) |
| OKLab | oklab(63.65% 0.1264 -0.1384) |
| OKLCH | oklch(63.65% 0.187 312.4) |
| XYZ | xyz(35.2831, 23.1978, 69.6231) |
| Luminance | 0.2320 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.41
Lightish Purple
#A552E6
ΔE00 5.12
Light Urple
#B36FF6
ΔE00 5.21
Lighter Purple
#A55AF4
ΔE00 5.24
Bright Lilac
#C95EFB
ΔE00 5.40
Amethyst
#9B5FC0
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B162DB #8CDB62
analogous
#7562DB #B162DB #DB62C8
triadic
#B162DB #DBB162 #62DBB1
tetradic
#B162DB #DB7562 #8CDB62 #62C8DB
square
#B162DB #DB7562 #8CDB62 #62C8DB
split-complementary
#B162DB #C8DB62 #62DB75
monochromatic
#74249E #9830D0 #B162DB #CA94E6 #E2C6F2
Accessibility & contrast
On white
3.72
#B162DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#B162DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B162DB
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B162DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B162DB | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F80DF
Deuteranopia (green-blind)
#5B86D8
Tritanopia (blue-blind)
#AD7795
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #b162db; /* rgb */ color: rgb(177, 98, 219); /* oklch */ color: oklch(63.6% 0.187 312.4);
Tailwind
colors: {
custom: {
50: '#cb92e7',
500: '#b162db',
950: '#000000',
},
}SCSS
$custom: #b162db; $custom-light: #cb92e7; $custom-dark: #000000;
JSON
{
"hex": "#b162db",
"rgb": {
"r": 177,
"g": 98,
"b": 219
},
"hsl": {
"h": 279.174,
"s": 62.694,
"l": 62.157
},
"oklch": {
"l": 0.63646,
"c": 0.18742,
"h": 312.4
},
"luminance": 0.23197
}Semantic roles & 50–950 ramp
primary
#B162DB
secondary
#C6E3B6
accent
#CA1B58
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84