#B56FE6#B56FE6
#B56FE6 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.6% C 0.181 H 309.5°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B56FE6 |
|---|---|
| RGB | rgb(181, 111, 230) |
| HSL | hsl(275, 70%, 67%) |
| HSV | hsv(275, 52%, 90%) |
| CMYK | cmyk(21.3%, 51.7%, 0%, 9.8%) |
| CIE-LAB | lab(58.89, 48.82, -49.83) |
| CIE-LCH | lch(58.89, 69.76, 314.42°) |
| OKLab | oklab(66.6% 0.115 -0.1395) |
| OKLCH | oklch(66.6% 0.181 309.5) |
| XYZ | xyz(39.0207, 26.9064, 77.9854) |
| Luminance | 0.2691 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.66
Light Purple
#BF77F6
ΔE00 3.25
Easter Purple
#C071FE
ΔE00 3.65
Bright Lavender
#C760FF
ΔE00 4.72
Bright Lilac
#C95EFB
ΔE00 4.77
Lighter Purple
#A55AF4
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B56FE6 #A0E66F
analogous
#7A6FE6 #B56FE6 #E66FDC
triadic
#B56FE6 #E6B56F #6FE6B5
tetradic
#B56FE6 #E67A6F #A0E66F #6FDCE6
square
#B56FE6 #E67A6F #A0E66F #6FDCE6
split-complementary
#B56FE6 #DCE66F #6FE67A
monochromatic
#7B20BA #9A3BDD #B56FE6 #D0A3EF #EBD7F8
Accessibility & contrast
On white
3.29
#B56FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#B56FE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B56FE6
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B56FE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B56FE6 | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E8BEA
Deuteranopia (green-blind)
#648FE3
Tritanopia (blue-blind)
#AF83A0
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #b56fe6; /* rgb */ color: rgb(181, 111, 230); /* oklch */ color: oklch(66.6% 0.181 309.5);
Tailwind
colors: {
custom: {
50: '#ce9aee',
500: '#b56fe6',
950: '#000000',
},
}SCSS
$custom: #b56fe6; $custom-light: #ce9aee; $custom-dark: #000000;
JSON
{
"hex": "#b56fe6",
"rgb": {
"r": 181,
"g": 111,
"b": 230
},
"hsl": {
"h": 275.294,
"s": 70.414,
"l": 66.863
},
"oklch": {
"l": 0.66598,
"c": 0.18084,
"h": 309.5
},
"luminance": 0.26906
}Semantic roles & 50–950 ramp
primary
#B56FE6
secondary
#D5EBC5
accent
#D21362
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84