#B56BF7#B56BF7
#B56BF7 is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 67.0% C 0.206 H 306.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B56BF7 |
|---|---|
| RGB | rgb(181, 107, 247) |
| HSL | hsl(272, 90%, 69%) |
| HSV | hsv(272, 57%, 97%) |
| CMYK | cmyk(26.7%, 56.7%, 0%, 3.1%) |
| CIE-LAB | lab(59.03, 54.71, -59.06) |
| CIE-LCH | lch(59.03, 80.51, 312.81°) |
| OKLab | oklab(67% 0.1209 -0.1665) |
| OKLCH | oklch(67% 0.206 306) |
| XYZ | xyz(41.0987, 27.0549, 91.0346) |
| Luminance | 0.2706 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.93
Easter Purple
#C071FE
ΔE00 2.52
Bright Lavender
#C760FF
ΔE00 3.33
Light Purple
#BF77F6
ΔE00 3.47
Bright Lilac
#C95EFB
ΔE00 3.80
Lighter Purple
#A55AF4
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B56BF7 #ADF76B
analogous
#6F6BF7 #B56BF7 #F76BF3
triadic
#B56BF7 #F7B56B #6BF7B5
tetradic
#B56BF7 #F76F6B #ADF76B #6BF3F7
square
#B56BF7 #F76F6B #ADF76B #6BF3F7
split-complementary
#B56BF7 #F3F76B #6BF76F
monochromatic
#7A0CDC #9831F4 #B56BF7 #D2A5FA #EFDFFD
Accessibility & contrast
On white
3.28
#B56BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#B56BF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B56BF7
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B56BF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B56BF7 | 1.00 | 3.28 | 6.41 | 6.41 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#348CFC
Deuteranopia (green-blind)
#528EF4
Tritanopia (blue-blind)
#AA86A7
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #b56bf7; /* rgb */ color: rgb(181, 107, 247); /* oklch */ color: oklch(67.0% 0.206 306.0);
Tailwind
colors: {
custom: {
50: '#cf98fa',
500: '#b56bf7',
950: '#000000',
},
}SCSS
$custom: #b56bf7; $custom-light: #cf98fa; $custom-dark: #000000;
JSON
{
"hex": "#b56bf7",
"rgb": {
"r": 181,
"g": 107,
"b": 247
},
"hsl": {
"h": 271.714,
"s": 89.744,
"l": 69.412
},
"oklch": {
"l": 0.66999,
"c": 0.2058,
"h": 306
},
"luminance": 0.27055
}Semantic roles & 50–950 ramp
primary
#B56BF7
secondary
#DEF3CB
accent
#E6006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85