#B560E4#B560E4
#B560E4 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.4% C 0.201 H 311.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #B560E4 |
|---|---|
| RGB | rgb(181, 96, 228) |
| HSL | hsl(279, 71%, 64%) |
| HSV | hsv(279, 58%, 89%) |
| CMYK | cmyk(20.6%, 57.9%, 0%, 10.6%) |
| CIE-LAB | lab(55.88, 56.05, -53.49) |
| CIE-LCH | lch(55.88, 77.48, 316.34°) |
| OKLab | oklab(64.35% 0.1342 -0.1502) |
| OKLCH | oklch(64.35% 0.201 311.8) |
| XYZ | xyz(37.2400, 23.7918, 76.0143) |
| Luminance | 0.2379 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.81
Bright Lilac
#C95EFB
ΔE00 4.15
Bright Lavender
#C760FF
ΔE00 4.40
Light Urple
#B36FF6
ΔE00 4.49
Lighter Purple
#A55AF4
ΔE00 4.53
Lightish Purple
#A552E6
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B560E4 #8FE460
analogous
#7360E4 #B560E4 #E460D1
triadic
#B560E4 #E4B560 #60E4B5
tetradic
#B560E4 #E47360 #8FE460 #60D1E4
square
#B560E4 #E47360 #8FE460 #60D1E4
split-complementary
#B560E4 #D1E460 #60E473
monochromatic
#791DAC #9D2CDB #B560E4 #CD94ED #E6C9F6
Accessibility & contrast
On white
3.65
#B560E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#B560E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B560E4
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B560E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B560E4 | 1.00 | 3.65 | 5.76 | 5.76 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3482E8
Deuteranopia (green-blind)
#5688E1
Tritanopia (blue-blind)
#B07899
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #b560e4; /* rgb */ color: rgb(181, 96, 228); /* oklch */ color: oklch(64.4% 0.201 311.8);
Tailwind
colors: {
custom: {
50: '#ce91ed',
500: '#b560e4',
950: '#000000',
},
}SCSS
$custom: #b560e4; $custom-light: #ce91ed; $custom-dark: #000000;
JSON
{
"hex": "#b560e4",
"rgb": {
"r": 181,
"g": 96,
"b": 228
},
"hsl": {
"h": 278.636,
"s": 70.968,
"l": 63.529
},
"oklch": {
"l": 0.64352,
"c": 0.20138,
"h": 311.8
},
"luminance": 0.23791
}Semantic roles & 50–950 ramp
primary
#B560E4
secondary
#C9E7B9
accent
#D31357
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84