#B156F5#B156F5
#B156F5 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.7% C 0.231 H 307.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B156F5 |
|---|---|
| RGB | rgb(177, 86, 245) |
| HSL | hsl(274, 89%, 65%) |
| HSV | hsv(274, 65%, 96%) |
| CMYK | cmyk(27.8%, 64.9%, 0%, 3.9%) |
| CIE-LAB | lab(54.65, 63.60, -64.99) |
| CIE-LCH | lch(54.65, 90.93, 314.38°) |
| OKLab | oklab(63.68% 0.1403 -0.184) |
| OKLCH | oklch(63.68% 0.231 307.3) |
| XYZ | xyz(37.9372, 22.5957, 88.7314) |
| Luminance | 0.2260 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.07
Lightish Purple
#A552E6
ΔE00 3.20
Bright Lavender
#C760FF
ΔE00 4.85
Bright Lilac
#C95EFB
ΔE00 4.90
Light Urple
#B36FF6
ΔE00 5.46
Mediumorchid
#BA55D3
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B156F5 #9AF556
analogous
#6256F5 #B156F5 #F556E9
triadic
#B156F5 #F5B156 #56F5B1
tetradic
#B156F5 #F56256 #9AF556 #56E9F5
square
#B156F5 #F56256 #9AF556 #56E9F5
split-complementary
#B156F5 #E9F556 #56F562
monochromatic
#760CC5 #961CF2 #B156F5 #CC90F8 #E6CAFC
Accessibility & contrast
On white
3.81
#B156F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#B156F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B156F5
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B156F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B156F5 | 1.00 | 3.81 | 5.52 | 5.52 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080FA
Deuteranopia (green-blind)
#3384F1
Tritanopia (blue-blind)
#A6789E
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #b156f5; /* rgb */ color: rgb(177, 86, 245); /* oklch */ color: oklch(63.7% 0.231 307.3);
Tailwind
colors: {
custom: {
50: '#cd8bf9',
500: '#b156f5',
950: '#000000',
},
}SCSS
$custom: #b156f5; $custom-light: #cd8bf9; $custom-dark: #000000;
JSON
{
"hex": "#b156f5",
"rgb": {
"r": 177,
"g": 86,
"b": 245
},
"hsl": {
"h": 274.34,
"s": 88.827,
"l": 64.902
},
"oklch": {
"l": 0.63684,
"c": 0.23138,
"h": 307.3
},
"luminance": 0.22595
}Semantic roles & 50–950 ramp
primary
#B156F5
secondary
#CFEFB8
accent
#E50062
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85