#B160E2#B160E2
#B160E2 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.8% C 0.198 H 310.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B160E2 |
|---|---|
| RGB | rgb(177, 96, 226) |
| HSL | hsl(277, 69%, 63%) |
| HSV | hsv(277, 58%, 89%) |
| CMYK | cmyk(21.7%, 57.5%, 0%, 11.4%) |
| CIE-LAB | lab(55.28, 54.64, -53.35) |
| CIE-LCH | lch(55.28, 76.37, 315.69°) |
| OKLab | oklab(63.78% 0.1292 -0.1499) |
| OKLCH | oklch(63.78% 0.198 310.8) |
| XYZ | xyz(36.0392, 23.2046, 74.5172) |
| Luminance | 0.2320 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.88
Lighter Purple
#A55AF4
ΔE00 4.14
Lightish Purple
#A552E6
ΔE00 4.35
Light Urple
#B36FF6
ΔE00 4.68
Bright Lilac
#C95EFB
ΔE00 4.81
Bright Lavender
#C760FF
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B160E2 #91E260
analogous
#7060E2 #B160E2 #E260D2
triadic
#B160E2 #E2B160 #60E2B1
tetradic
#B160E2 #E27060 #91E260 #60D2E2
square
#B160E2 #E27060 #91E260 #60D2E2
split-complementary
#B160E2 #D2E260 #60E270
monochromatic
#751FA9 #982CD9 #B160E2 #CA94EB #E4C8F5
Accessibility & contrast
On white
3.72
#B160E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#B160E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B160E2
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B160E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B160E2 | 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)
#3481E6
Deuteranopia (green-blind)
#5486DF
Tritanopia (blue-blind)
#AB7898
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #b160e2; /* rgb */ color: rgb(177, 96, 226); /* oklch */ color: oklch(63.8% 0.198 310.8);
Tailwind
colors: {
custom: {
50: '#cb91ec',
500: '#b160e2',
950: '#000000',
},
}SCSS
$custom: #b160e2; $custom-light: #cb91ec; $custom-dark: #000000;
JSON
{
"hex": "#b160e2",
"rgb": {
"r": 177,
"g": 96,
"b": 226
},
"hsl": {
"h": 277.385,
"s": 69.149,
"l": 63.137
},
"oklch": {
"l": 0.63776,
"c": 0.19788,
"h": 310.8
},
"luminance": 0.23204
}Semantic roles & 50–950 ramp
primary
#B160E2
secondary
#C9E6B8
accent
#D1145C
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84