#B56CDF#B56CDF
#B56CDF is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.8% C 0.178 H 311.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B56CDF |
|---|---|
| RGB | rgb(181, 108, 223) |
| HSL | hsl(278, 64%, 65%) |
| HSV | hsv(278, 52%, 87%) |
| CMYK | cmyk(18.8%, 51.6%, 0%, 12.5%) |
| CIE-LAB | lab(57.92, 48.86, -47.44) |
| CIE-LCH | lch(57.92, 68.10, 315.85°) |
| OKLab | oklab(65.77% 0.1184 -0.1326) |
| OKLCH | oklch(65.77% 0.178 311.8) |
| XYZ | xyz(37.7355, 25.8774, 72.8047) |
| Luminance | 0.2588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.85
Light Purple
#BF77F6
ΔE00 4.41
Easter Purple
#C071FE
ΔE00 4.79
Bright Lilac
#C95EFB
ΔE00 5.02
Bright Lavender
#C760FF
ΔE00 5.17
Mediumorchid
#BA55D3
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B56CDF #96DF6C
analogous
#7C6CDF #B56CDF #DF6CD0
triadic
#B56CDF #DFB56C #6CDFB5
tetradic
#B56CDF #DF7C6C #96DF6C #6CD0DF
square
#B56CDF #DF7C6C #96DF6C #6CD0DF
split-complementary
#B56CDF #D0DF6C #6CDF7C
monochromatic
#7A25AB #9C3AD4 #B56CDF #CE9EEA #E8D1F5
Accessibility & contrast
On white
3.40
#B56CDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#B56CDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B56CDF
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B56CDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B56CDF | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E87E3
Deuteranopia (green-blind)
#658DDC
Tritanopia (blue-blind)
#B07F9C
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b56cdf; /* rgb */ color: rgb(181, 108, 223); /* oklch */ color: oklch(65.8% 0.178 311.8);
Tailwind
colors: {
custom: {
50: '#ce98e9',
500: '#b56cdf',
950: '#000000',
},
}SCSS
$custom: #b56cdf; $custom-light: #ce98e9; $custom-dark: #000000;
JSON
{
"hex": "#b56cdf",
"rgb": {
"r": 181,
"g": 108,
"b": 223
},
"hsl": {
"h": 278.087,
"s": 64.246,
"l": 64.902
},
"oklch": {
"l": 0.65765,
"c": 0.17775,
"h": 311.8
},
"luminance": 0.25877
}Semantic roles & 50–950 ramp
primary
#B56CDF
secondary
#CEE7C0
accent
#CC195B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84