#B56BF3#B56BF3
#B56BF3 is a light, highly saturated violet. Relative luminance 0.268; OKLCH L 66.8% C 0.201 H 306.9°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B56BF3 |
|---|---|
| RGB | rgb(181, 107, 243) |
| HSL | hsl(273, 85%, 69%) |
| HSV | hsv(273, 56%, 95%) |
| CMYK | cmyk(25.5%, 56%, 0%, 4.7%) |
| CIE-LAB | lab(58.80, 53.80, -57.21) |
| CIE-LCH | lch(58.80, 78.53, 313.25°) |
| OKLab | oklab(66.76% 0.1208 -0.1611) |
| OKLCH | oklch(66.76% 0.201 306.9) |
| XYZ | xyz(40.4881, 26.8106, 87.8187) |
| Luminance | 0.2681 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.11
Easter Purple
#C071FE
ΔE00 2.69
Bright Lavender
#C760FF
ΔE00 3.41
Light Purple
#BF77F6
ΔE00 3.42
Bright Lilac
#C95EFB
ΔE00 3.77
Lighter Purple
#A55AF4
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B56BF3 #A9F36B
analogous
#716BF3 #B56BF3 #F36BED
triadic
#B56BF3 #F3B56B #6BF3B5
tetradic
#B56BF3 #F3716B #A9F36B #6BEDF3
square
#B56BF3 #F3716B #A9F36B #6BEDF3
split-complementary
#B56BF3 #EDF36B #6BF371
monochromatic
#7A11D3 #9932EE #B56BF3 #D1A4F8 #EEDCFC
Accessibility & contrast
On white
3.30
#B56BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#B56BF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B56BF3
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B56BF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B56BF3 | 1.00 | 3.30 | 6.36 | 6.36 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#398BF7
Deuteranopia (green-blind)
#568EF0
Tritanopia (blue-blind)
#AB85A5
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #b56bf3; /* rgb */ color: rgb(181, 107, 243); /* oklch */ color: oklch(66.8% 0.201 306.9);
Tailwind
colors: {
custom: {
50: '#ce98f8',
500: '#b56bf3',
950: '#000000',
},
}SCSS
$custom: #b56bf3; $custom-light: #ce98f8; $custom-dark: #000000;
JSON
{
"hex": "#b56bf3",
"rgb": {
"r": 181,
"g": 107,
"b": 243
},
"hsl": {
"h": 272.647,
"s": 85,
"l": 68.627
},
"oklch": {
"l": 0.6676,
"c": 0.20138,
"h": 306.9
},
"luminance": 0.2681
}Semantic roles & 50–950 ramp
primary
#B56BF3
secondary
#DBF1C9
accent
#E10469
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85