#B159F0#B159F0
#B159F0 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.7% C 0.222 H 308.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #B159F0 |
|---|---|
| RGB | rgb(177, 89, 240) |
| HSL | hsl(275, 83%, 65%) |
| HSV | hsv(275, 63%, 94%) |
| CMYK | cmyk(26.3%, 62.9%, 0%, 5.9%) |
| CIE-LAB | lab(54.85, 61.10, -61.89) |
| CIE-LCH | lch(54.85, 86.97, 314.63°) |
| OKLab | oklab(63.73% 0.1373 -0.1749) |
| OKLCH | oklch(63.73% 0.222 308.1) |
| XYZ | xyz(37.4288, 22.7837, 84.8471) |
| Luminance | 0.2278 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.32
Lightish Purple
#A552E6
ΔE00 3.25
Bright Lilac
#C95EFB
ΔE00 4.64
Bright Lavender
#C760FF
ΔE00 4.65
Light Urple
#B36FF6
ΔE00 5.03
Mediumorchid
#BA55D3
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B159F0 #98F059
analogous
#6659F0 #B159F0 #F059E3
triadic
#B159F0 #F0B159 #59F0B1
tetradic
#B159F0 #F06659 #98F059 #59E3F0
square
#B159F0 #F06659 #98F059 #59E3F0
split-complementary
#B159F0 #E3F059 #59F066
monochromatic
#7611BD #9721EB #B159F0 #CB91F5 #E6C9FA
Accessibility & contrast
On white
3.78
#B159F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#B159F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B159F0
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B159F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B159F0 | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#3E84ED
Tritanopia (blue-blind)
#A7789D
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #b159f0; /* rgb */ color: rgb(177, 89, 240); /* oklch */ color: oklch(63.7% 0.222 308.1);
Tailwind
colors: {
custom: {
50: '#cc8df6',
500: '#b159f0',
950: '#000000',
},
}SCSS
$custom: #b159f0; $custom-light: #cc8df6; $custom-dark: #000000;
JSON
{
"hex": "#b159f0",
"rgb": {
"r": 177,
"g": 89,
"b": 240
},
"hsl": {
"h": 274.967,
"s": 83.425,
"l": 64.51
},
"oklch": {
"l": 0.63725,
"c": 0.22235,
"h": 308.1
},
"luminance": 0.22783
}Semantic roles & 50–950 ramp
primary
#B159F0
secondary
#CEECB8
accent
#E00661
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85