#B159F2#B159F2
#B159F2 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.9% C 0.224 H 307.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B159F2 |
|---|---|
| RGB | rgb(177, 89, 242) |
| HSL | hsl(275, 85%, 65%) |
| HSV | hsv(275, 63%, 95%) |
| CMYK | cmyk(26.9%, 63.2%, 0%, 5.1%) |
| CIE-LAB | lab(54.97, 61.54, -62.81) |
| CIE-LCH | lch(54.97, 87.94, 314.42°) |
| OKLab | oklab(63.85% 0.1372 -0.1776) |
| OKLCH | oklch(63.85% 0.224 307.7) |
| XYZ | xyz(37.7275, 22.9032, 86.4204) |
| Luminance | 0.2290 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.21
Lightish Purple
#A552E6
ΔE00 3.36
Bright Lavender
#C760FF
ΔE00 4.57
Bright Lilac
#C95EFB
ΔE00 4.60
Light Urple
#B36FF6
ΔE00 4.95
Mediumorchid
#BA55D3
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B159F2 #9AF259
analogous
#6559F2 #B159F2 #F259E6
triadic
#B159F2 #F2B159 #59F2B1
tetradic
#B159F2 #F26559 #9AF259 #59E6F2
square
#B159F2 #F26559 #9AF259 #59E6F2
split-complementary
#B159F2 #E6F259 #59F265
monochromatic
#760FC1 #9620EE #B159F2 #CC92F6 #E6CBFB
Accessibility & contrast
On white
3.76
#B159F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#B159F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B159F2
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B159F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B159F2 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#3C84EF
Tritanopia (blue-blind)
#A7799E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #b159f2; /* rgb */ color: rgb(177, 89, 242); /* oklch */ color: oklch(63.9% 0.224 307.7);
Tailwind
colors: {
custom: {
50: '#cd8df7',
500: '#b159f2',
950: '#000000',
},
}SCSS
$custom: #b159f2; $custom-light: #cd8df7; $custom-dark: #000000;
JSON
{
"hex": "#b159f2",
"rgb": {
"r": 177,
"g": 89,
"b": 242
},
"hsl": {
"h": 274.51,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.63854,
"c": 0.22441,
"h": 307.7
},
"luminance": 0.22903
}Semantic roles & 50–950 ramp
primary
#B159F2
secondary
#CFEDB9
accent
#E20462
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D17
muted
#837D85