#B56CDB#B56CDB
#B56CDB is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.5% C 0.173 H 312.9°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B56CDB |
|---|---|
| RGB | rgb(181, 108, 219) |
| HSL | hsl(279, 61%, 64%) |
| HSV | hsv(279, 51%, 86%) |
| CMYK | cmyk(17.4%, 50.7%, 0%, 14.1%) |
| CIE-LAB | lab(57.72, 48.00, -45.51) |
| CIE-LCH | lch(57.72, 66.15, 316.52°) |
| OKLab | oklab(65.55% 0.118 -0.127) |
| OKLCH | oklch(65.55% 0.173 312.9) |
| XYZ | xyz(37.2026, 25.6642, 69.9980) |
| Luminance | 0.2566 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.53
Light Purple
#BF77F6
ΔE00 4.89
Mediumorchid
#BA55D3
ΔE00 5.24
Easter Purple
#C071FE
ΔE00 5.39
Bright Lilac
#C95EFB
ΔE00 5.47
Bright Lavender
#C760FF
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B56CDB #92DB6C
analogous
#7E6CDB #B56CDB #DB6CCA
triadic
#B56CDB #DBB56C #6CDBB5
tetradic
#B56CDB #DB7E6C #92DB6C #6CCADB
square
#B56CDB #DB7E6C #92DB6C #6CCADB
split-complementary
#B56CDB #CADB6C #6CDB7E
monochromatic
#7A28A4 #9C3BCF #B56CDB #CE9DE7 #E6CEF3
Accessibility & contrast
On white
3.42
#B56CDB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#B56CDB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B56CDB
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B56CDB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B56CDB | 1.00 | 3.42 | 6.13 | 6.13 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5187DF
Deuteranopia (green-blind)
#688CD8
Tritanopia (blue-blind)
#B17E9A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b56cdb; /* rgb */ color: rgb(181, 108, 219); /* oklch */ color: oklch(65.5% 0.173 312.9);
Tailwind
colors: {
custom: {
50: '#cd98e6',
500: '#b56cdb',
950: '#000000',
},
}SCSS
$custom: #b56cdb; $custom-light: #cd98e6; $custom-dark: #000000;
JSON
{
"hex": "#b56cdb",
"rgb": {
"r": 181,
"g": 108,
"b": 219
},
"hsl": {
"h": 279.459,
"s": 60.656,
"l": 64.118
},
"oklch": {
"l": 0.65549,
"c": 0.17335,
"h": 312.9
},
"luminance": 0.25663
}Semantic roles & 50–950 ramp
primary
#B56CDB
secondary
#CBE5BE
accent
#C81D58
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84