#B160DB#B160DB
#B160DB is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.4% C 0.190 H 312.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B160DB |
|---|---|
| RGB | rgb(177, 96, 219) |
| HSL | hsl(280, 63%, 62%) |
| HSV | hsv(280, 56%, 86%) |
| CMYK | cmyk(19.2%, 56.2%, 0%, 14.1%) |
| CIE-LAB | lab(54.89, 53.14, -50.02) |
| CIE-LCH | lch(54.89, 72.98, 316.73°) |
| OKLab | oklab(63.37% 0.129 -0.1401) |
| OKLCH | oklch(63.37% 0.19 312.6) |
| XYZ | xyz(35.0983, 22.8282, 69.5615) |
| Luminance | 0.2283 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.10
Lightish Purple
#A552E6
ΔE00 4.76
Lighter Purple
#A55AF4
ΔE00 5.06
Bright Lilac
#C95EFB
ΔE00 5.47
Amethyst
#9B5FC0
ΔE00 5.48
Light Urple
#B36FF6
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B160DB #8ADB60
analogous
#7460DB #B160DB #DB60C8
triadic
#B160DB #DBB160 #60DBB1
tetradic
#B160DB #DB7460 #8ADB60 #60C8DB
square
#B160DB #DB7460 #8ADB60 #60C8DB
split-complementary
#B160DB #C8DB60 #60DB74
monochromatic
#74249D #982FCF #B160DB #C992E6 #E2C4F2
Accessibility & contrast
On white
3.77
#B160DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#B160DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B160DB
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B160DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B160DB | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C7FDF
Deuteranopia (green-blind)
#5985D8
Tritanopia (blue-blind)
#AD7594
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #b160db; /* rgb */ color: rgb(177, 96, 219); /* oklch */ color: oklch(63.4% 0.190 312.6);
Tailwind
colors: {
custom: {
50: '#cb90e7',
500: '#b160db',
950: '#000000',
},
}SCSS
$custom: #b160db; $custom-light: #cb90e7; $custom-dark: #000000;
JSON
{
"hex": "#b160db",
"rgb": {
"r": 177,
"g": 96,
"b": 219
},
"hsl": {
"h": 279.512,
"s": 63.077,
"l": 61.765
},
"oklch": {
"l": 0.63367,
"c": 0.19045,
"h": 312.6
},
"luminance": 0.22827
}Semantic roles & 50–950 ramp
primary
#B160DB
secondary
#C4E2B5
accent
#CB1B57
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84