#B56CDC#B56CDC
#B56CDC is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.6% C 0.174 H 312.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B56CDC |
|---|---|
| RGB | rgb(181, 108, 220) |
| HSL | hsl(279, 62%, 64%) |
| HSV | hsv(279, 51%, 86%) |
| CMYK | cmyk(17.7%, 50.9%, 0%, 13.7%) |
| CIE-LAB | lab(57.77, 48.22, -46.00) |
| CIE-LCH | lch(57.77, 66.64, 316.35°) |
| OKLab | oklab(65.6% 0.1181 -0.1284) |
| OKLCH | oklch(65.6% 0.174 312.6) |
| XYZ | xyz(37.3347, 25.7171, 70.6934) |
| Luminance | 0.2572 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.36
Light Purple
#BF77F6
ΔE00 4.77
Easter Purple
#C071FE
ΔE00 5.24
Mediumorchid
#BA55D3
ΔE00 5.29
Bright Lilac
#C95EFB
ΔE00 5.36
Bright Lavender
#C760FF
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B56CDC #93DC6C
analogous
#7D6CDC #B56CDC #DC6CCB
triadic
#B56CDC #DCB56C #6CDCB5
tetradic
#B56CDC #DC7D6C #93DC6C #6CCBDC
square
#B56CDC #DC7D6C #93DC6C #6CCBDC
split-complementary
#B56CDC #CBDC6C #6CDC7D
monochromatic
#7A28A6 #9C3BD0 #B56CDC #CE9DE8 #E7CFF4
Accessibility & contrast
On white
3.42
#B56CDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#B56CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B56CDC
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B56CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B56CDC | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5187E0
Deuteranopia (green-blind)
#678CD9
Tritanopia (blue-blind)
#B17E9A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b56cdc; /* rgb */ color: rgb(181, 108, 220); /* oklch */ color: oklch(65.6% 0.174 312.6);
Tailwind
colors: {
custom: {
50: '#cd98e7',
500: '#b56cdc',
950: '#000000',
},
}SCSS
$custom: #b56cdc; $custom-light: #cd98e7; $custom-dark: #000000;
JSON
{
"hex": "#b56cdc",
"rgb": {
"r": 181,
"g": 108,
"b": 220
},
"hsl": {
"h": 279.107,
"s": 61.538,
"l": 64.314
},
"oklch": {
"l": 0.65603,
"c": 0.17445,
"h": 312.6
},
"luminance": 0.25716
}Semantic roles & 50–950 ramp
primary
#B56CDC
secondary
#CCE5BE
accent
#C91C58
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84