#B56CF2#B56CF2
#B56CF2 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.8% C 0.199 H 307.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #B56CF2 |
|---|---|
| RGB | rgb(181, 108, 242) |
| HSL | hsl(273, 84%, 69%) |
| HSV | hsv(273, 55%, 95%) |
| CMYK | cmyk(25.2%, 55.4%, 0%, 5.1%) |
| CIE-LAB | lab(58.94, 53.06, -56.43) |
| CIE-LCH | lch(58.94, 77.46, 313.24°) |
| OKLab | oklab(66.84% 0.1196 -0.1588) |
| OKLCH | oklch(66.84% 0.199 307) |
| XYZ | xyz(40.4423, 26.9601, 87.0605) |
| Luminance | 0.2696 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.04
Easter Purple
#C071FE
ΔE00 2.63
Light Purple
#BF77F6
ΔE00 3.22
Bright Lavender
#C760FF
ΔE00 3.55
Bright Lilac
#C95EFB
ΔE00 3.89
Lighter Purple
#A55AF4
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B56CF2 #A9F26C
analogous
#726CF2 #B56CF2 #F26CEC
triadic
#B56CF2 #F2B56C #6CF2B5
tetradic
#B56CF2 #F2726C #A9F26C #6CECF2
square
#B56CF2 #F2726C #A9F26C #6CECF2
split-complementary
#B56CF2 #ECF26C #6CF272
monochromatic
#7A12D1 #9934ED #B56CF2 #D1A4F7 #EEDCFC
Accessibility & contrast
On white
3.29
#B56CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.39
#B56CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B56CF2
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B56CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B56CF2 | 1.00 | 3.29 | 6.39 | 6.39 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D8BF6
Deuteranopia (green-blind)
#578EEF
Tritanopia (blue-blind)
#AC85A5
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #b56cf2; /* rgb */ color: rgb(181, 108, 242); /* oklch */ color: oklch(66.8% 0.199 307.0);
Tailwind
colors: {
custom: {
50: '#ce99f7',
500: '#b56cf2',
950: '#000000',
},
}SCSS
$custom: #b56cf2; $custom-light: #ce99f7; $custom-dark: #000000;
JSON
{
"hex": "#b56cf2",
"rgb": {
"r": 181,
"g": 108,
"b": 242
},
"hsl": {
"h": 272.687,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.66844,
"c": 0.19879,
"h": 307
},
"luminance": 0.2696
}Semantic roles & 50–950 ramp
primary
#B56CF2
secondary
#DBF1C9
accent
#E00569
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85