#B56FF5#B56FF5
#B56FF5 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.5% C 0.198 H 305.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #B56FF5 |
|---|---|
| RGB | rgb(181, 111, 245) |
| HSL | hsl(271, 87%, 70%) |
| HSV | hsv(271, 55%, 96%) |
| CMYK | cmyk(26.1%, 54.7%, 0%, 3.9%) |
| CIE-LAB | lab(59.69, 52.19, -56.88) |
| CIE-LCH | lch(59.69, 77.20, 312.54°) |
| OKLab | oklab(67.45% 0.1159 -0.1602) |
| OKLCH | oklch(67.45% 0.198 305.9) |
| XYZ | xyz(41.2184, 27.7855, 89.5602) |
| Luminance | 0.2778 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.44
Easter Purple
#C071FE
ΔE00 2.14
Light Purple
#BF77F6
ΔE00 2.70
Bright Lavender
#C760FF
ΔE00 3.86
Bright Lilac
#C95EFB
ΔE00 4.30
Lighter Purple
#A55AF4
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B56FF5 #AFF56F
analogous
#726FF5 #B56FF5 #F56FF2
triadic
#B56FF5 #F5B56F #6FF5B5
tetradic
#B56FF5 #F5726F #AFF56F #6FF2F5
square
#B56FF5 #F5726F #AFF56F #6FF2F5
split-complementary
#B56FF5 #F2F56F #6FF572
monochromatic
#790FDA #9836F1 #B56FF5 #D2A8F9 #F0E1FD
Accessibility & contrast
On white
3.20
#B56FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.56
#B56FF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B56FF5
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B56FF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B56FF5 | 1.00 | 3.20 | 6.56 | 6.56 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#408EF9
Deuteranopia (green-blind)
#5890F2
Tritanopia (blue-blind)
#AB88A8
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #b56ff5; /* rgb */ color: rgb(181, 111, 245); /* oklch */ color: oklch(67.5% 0.198 305.9);
Tailwind
colors: {
custom: {
50: '#ce9bf9',
500: '#b56ff5',
950: '#000000',
},
}SCSS
$custom: #b56ff5; $custom-light: #ce9bf9; $custom-dark: #000000;
JSON
{
"hex": "#b56ff5",
"rgb": {
"r": 181,
"g": 111,
"b": 245
},
"hsl": {
"h": 271.343,
"s": 87.013,
"l": 69.804
},
"oklch": {
"l": 0.67454,
"c": 0.19771,
"h": 305.9
},
"luminance": 0.27785
}Semantic roles & 50–950 ramp
primary
#B56FF5
secondary
#DFF3CD
accent
#E4026E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85