#B956FB#B956FB
#B956FB is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 65.0% C 0.240 H 308.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B956FB |
|---|---|
| RGB | rgb(185, 86, 251) |
| HSL | hsl(276, 95%, 66%) |
| HSV | hsv(276, 66%, 98%) |
| CMYK | cmyk(26.3%, 65.7%, 0%, 1.6%) |
| CIE-LAB | lab(56.02, 66.56, -66.07) |
| CIE-LCH | lch(56.02, 93.78, 315.21°) |
| OKLab | oklab(65% 0.1499 -0.1869) |
| OKLCH | oklch(65% 0.24 308.7) |
| XYZ | xyz(40.7444, 23.9356, 93.7217) |
| Luminance | 0.2394 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.36
Bright Lavender
#C760FF
ΔE00 3.49
Bright Lilac
#C95EFB
ΔE00 3.57
Lightish Purple
#A552E6
ΔE00 4.66
Light Urple
#B36FF6
ΔE00 5.03
Heliotrope
#D94FF5
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B956FB #98FB56
analogous
#6656FB #B956FB #FB56EA
triadic
#B956FB #FBB956 #56FBB9
tetradic
#B956FB #FB6656 #98FB56 #56EAFB
square
#B956FB #FB6656 #98FB56 #56EAFB
split-complementary
#B956FB #EAFB56 #56FB66
monochromatic
#8005D2 #A01AFA #B956FB #D292FC #EBCEFE
Accessibility & contrast
On white
3.63
#B956FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#B956FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B956FB
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B956FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B956FB | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#3787F7
Tritanopia (blue-blind)
#AF79A2
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #b956fb; /* rgb */ color: rgb(185, 86, 251); /* oklch */ color: oklch(65.0% 0.240 308.7);
Tailwind
colors: {
custom: {
50: '#d38cfd',
500: '#b956fb',
950: '#000000',
},
}SCSS
$custom: #b956fb; $custom-light: #d38cfd; $custom-dark: #000000;
JSON
{
"hex": "#b956fb",
"rgb": {
"r": 185,
"g": 86,
"b": 251
},
"hsl": {
"h": 276,
"s": 95.376,
"l": 66.078
},
"oklch": {
"l": 0.65002,
"c": 0.23955,
"h": 308.7
},
"luminance": 0.23935
}Semantic roles & 50–950 ramp
primary
#B956FB
secondary
#D1F2BB
accent
#E6005C
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150D18
muted
#837D86