#B56EF5#B56EF5
#B56EF5 is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.3% C 0.199 H 306.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #B56EF5 |
|---|---|
| RGB | rgb(181, 110, 245) |
| HSL | hsl(272, 87%, 70%) |
| HSV | hsv(272, 55%, 96%) |
| CMYK | cmyk(26.1%, 55.1%, 0%, 3.9%) |
| CIE-LAB | lab(59.50, 52.71, -57.20) |
| CIE-LCH | lch(59.50, 77.78, 312.66°) |
| OKLab | oklab(67.31% 0.1172 -0.1611) |
| OKLCH | oklch(67.31% 0.199 306) |
| XYZ | xyz(41.1099, 27.5685, 89.5240) |
| Luminance | 0.2757 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.48
Easter Purple
#C071FE
ΔE00 2.23
Light Purple
#BF77F6
ΔE00 2.88
Bright Lavender
#C760FF
ΔE00 3.72
Bright Lilac
#C95EFB
ΔE00 4.15
Lighter Purple
#A55AF4
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B56EF5 #AEF56E
analogous
#726EF5 #B56EF5 #F56EF1
triadic
#B56EF5 #F5B56E #6EF5B5
tetradic
#B56EF5 #F5726E #AEF56E #6EF1F5
square
#B56EF5 #F5726E #AEF56E #6EF1F5
split-complementary
#B56EF5 #F1F56E #6EF572
monochromatic
#7A0FDA #9835F1 #B56EF5 #D2A7F9 #EFE1FD
Accessibility & contrast
On white
3.22
#B56EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.51
#B56EF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B56EF5
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B56EF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B56EF5 | 1.00 | 3.22 | 6.51 | 6.51 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E8DF9
Deuteranopia (green-blind)
#5790F2
Tritanopia (blue-blind)
#AB87A7
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #b56ef5; /* rgb */ color: rgb(181, 110, 245); /* oklch */ color: oklch(67.3% 0.199 306.0);
Tailwind
colors: {
custom: {
50: '#ce9af9',
500: '#b56ef5',
950: '#000000',
},
}SCSS
$custom: #b56ef5; $custom-light: #ce9af9; $custom-dark: #000000;
JSON
{
"hex": "#b56ef5",
"rgb": {
"r": 181,
"g": 110,
"b": 245
},
"hsl": {
"h": 271.556,
"s": 87.097,
"l": 69.608
},
"oklch": {
"l": 0.67309,
"c": 0.19919,
"h": 306
},
"luminance": 0.27568
}Semantic roles & 50–950 ramp
primary
#B56EF5
secondary
#DEF3CC
accent
#E4026D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85