#B56CF8#B56CF8
#B56CF8 is a light, highly saturated violet. Relative luminance 0.273; OKLCH L 67.2% C 0.205 H 305.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B56CF8 |
|---|---|
| RGB | rgb(181, 108, 248) |
| HSL | hsl(271, 91%, 70%) |
| HSV | hsv(271, 56%, 97%) |
| CMYK | cmyk(27%, 56.5%, 0%, 2.7%) |
| CIE-LAB | lab(59.28, 54.43, -59.21) |
| CIE-LCH | lch(59.28, 80.43, 312.59°) |
| OKLab | oklab(67.2% 0.1197 -0.167) |
| OKLCH | oklch(67.2% 0.205 305.6) |
| XYZ | xyz(41.3583, 27.3265, 91.8845) |
| Luminance | 0.2733 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.75
Easter Purple
#C071FE
ΔE00 2.35
Light Purple
#BF77F6
ΔE00 3.32
Bright Lavender
#C760FF
ΔE00 3.44
Bright Lilac
#C95EFB
ΔE00 3.94
Lighter Purple
#A55AF4
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B56CF8 #AFF86C
analogous
#6F6CF8 #B56CF8 #F86CF5
triadic
#B56CF8 #F8B56C #6CF8B5
tetradic
#B56CF8 #F86F6C #AFF86C #6CF5F8
square
#B56CF8 #F86F6C #AFF86C #6CF5F8
split-complementary
#B56CF8 #F5F86C #6CF86F
monochromatic
#790BDF #9832F5 #B56CF8 #D2A6FB #F0E1FE
Accessibility & contrast
On white
3.25
#B56CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.47
#B56CF8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B56CF8
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B56CF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B56CF8 | 1.00 | 3.25 | 6.47 | 6.47 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#358CFD
Deuteranopia (green-blind)
#528FF5
Tritanopia (blue-blind)
#AA87A8
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #b56cf8; /* rgb */ color: rgb(181, 108, 248); /* oklch */ color: oklch(67.2% 0.205 305.6);
Tailwind
colors: {
custom: {
50: '#cf99fb',
500: '#b56cf8',
950: '#000000',
},
}SCSS
$custom: #b56cf8; $custom-light: #cf99fb; $custom-dark: #000000;
JSON
{
"hex": "#b56cf8",
"rgb": {
"r": 181,
"g": 108,
"b": 248
},
"hsl": {
"h": 271.286,
"s": 90.909,
"l": 69.804
},
"oklch": {
"l": 0.67201,
"c": 0.20546,
"h": 305.6
},
"luminance": 0.27326
}Semantic roles & 50–950 ramp
primary
#B56CF8
secondary
#DFF4CC
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85