#B156F0#B156F0
#B156F0 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.4% C 0.226 H 308.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B156F0 |
|---|---|
| RGB | rgb(177, 86, 240) |
| HSL | hsl(275, 84%, 64%) |
| HSV | hsv(275, 64%, 94%) |
| CMYK | cmyk(26.3%, 64.2%, 0%, 5.9%) |
| CIE-LAB | lab(54.34, 62.51, -62.71) |
| CIE-LCH | lch(54.34, 88.54, 314.91°) |
| OKLab | oklab(63.36% 0.1407 -0.1773) |
| OKLCH | oklch(63.36% 0.226 308.4) |
| XYZ | xyz(37.1842, 22.2945, 84.7656) |
| Luminance | 0.2229 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.33
Lightish Purple
#A552E6
ΔE00 2.84
Bright Lilac
#C95EFB
ΔE00 4.99
Bright Lavender
#C760FF
ΔE00 5.03
Mediumorchid
#BA55D3
ΔE00 5.17
Light Urple
#B36FF6
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B156F0 #95F056
analogous
#6456F0 #B156F0 #F056E2
triadic
#B156F0 #F0B156 #56F0B1
tetradic
#B156F0 #F06456 #95F056 #56E2F0
square
#B156F0 #F06456 #95F056 #56E2F0
split-complementary
#B156F0 #E2F056 #56F064
monochromatic
#7511BB #971EEB #B156F0 #CB8EF5 #E5C6FA
Accessibility & contrast
On white
3.85
#B156F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#B156F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B156F0
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B156F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B156F0 | 1.00 | 3.85 | 5.46 | 5.46 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF5
Deuteranopia (green-blind)
#3A83ED
Tritanopia (blue-blind)
#A8769C
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #b156f0; /* rgb */ color: rgb(177, 86, 240); /* oklch */ color: oklch(63.4% 0.226 308.4);
Tailwind
colors: {
custom: {
50: '#cd8bf6',
500: '#b156f0',
950: '#000000',
},
}SCSS
$custom: #b156f0; $custom-light: #cd8bf6; $custom-dark: #000000;
JSON
{
"hex": "#b156f0",
"rgb": {
"r": 177,
"g": 86,
"b": 240
},
"hsl": {
"h": 275.455,
"s": 83.696,
"l": 63.922
},
"oklch": {
"l": 0.63357,
"c": 0.22631,
"h": 308.4
},
"luminance": 0.22294
}Semantic roles & 50–950 ramp
primary
#B156F0
secondary
#CCECB6
accent
#E0055F
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85