#B56DF2#B56DF2
#B56DF2 is a light, vivid violet. Relative luminance 0.272; OKLCH L 67.0% C 0.197 H 306.8°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B56DF2 |
|---|---|
| RGB | rgb(181, 109, 242) |
| HSL | hsl(272, 84%, 69%) |
| HSV | hsv(272, 55%, 95%) |
| CMYK | cmyk(25.2%, 55%, 0%, 5.1%) |
| CIE-LAB | lab(59.13, 52.55, -56.12) |
| CIE-LCH | lch(59.13, 76.88, 313.12°) |
| OKLab | oklab(66.99% 0.1183 -0.1579) |
| OKLCH | oklch(66.99% 0.197 306.8) |
| XYZ | xyz(40.5484, 27.1723, 87.0958) |
| Luminance | 0.2717 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.91
Easter Purple
#C071FE
ΔE00 2.51
Light Purple
#BF77F6
ΔE00 3.03
Bright Lavender
#C760FF
ΔE00 3.67
Bright Lilac
#C95EFB
ΔE00 4.01
Lighter Purple
#A55AF4
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B56DF2 #AAF26D
analogous
#736DF2 #B56DF2 #F26DED
triadic
#B56DF2 #F2B56D #6DF2B5
tetradic
#B56DF2 #F2736D #AAF26D #6DEDF2
square
#B56DF2 #F2736D #AAF26D #6DEDF2
split-complementary
#B56DF2 #EDF26D #6DF273
monochromatic
#7A13D2 #9935ED #B56DF2 #D1A5F7 #EEDDFC
Accessibility & contrast
On white
3.26
#B56DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.43
#B56DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B56DF2
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B56DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B56DF2 | 1.00 | 3.26 | 6.43 | 6.43 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F8CF6
Deuteranopia (green-blind)
#598FEF
Tritanopia (blue-blind)
#AB86A5
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #b56df2; /* rgb */ color: rgb(181, 109, 242); /* oklch */ color: oklch(67.0% 0.197 306.8);
Tailwind
colors: {
custom: {
50: '#ce99f7',
500: '#b56df2',
950: '#000000',
},
}SCSS
$custom: #b56df2; $custom-light: #ce99f7; $custom-dark: #000000;
JSON
{
"hex": "#b56df2",
"rgb": {
"r": 181,
"g": 109,
"b": 242
},
"hsl": {
"h": 272.481,
"s": 83.648,
"l": 68.824
},
"oklch": {
"l": 0.66988,
"c": 0.19731,
"h": 306.8
},
"luminance": 0.27172
}Semantic roles & 50–950 ramp
primary
#B56DF2
secondary
#DCF1CA
accent
#E0056A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85