#B560E2#B560E2
#B560E2 is a light, vivid violet. Relative luminance 0.237; OKLCH L 64.2% C 0.199 H 312.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B560E2 |
|---|---|
| RGB | rgb(181, 96, 226) |
| HSL | hsl(279, 69%, 63%) |
| HSV | hsv(279, 58%, 89%) |
| CMYK | cmyk(19.9%, 57.5%, 0%, 11.4%) |
| CIE-LAB | lab(55.77, 55.62, -52.55) |
| CIE-LCH | lch(55.77, 76.52, 316.63°) |
| OKLab | oklab(64.24% 0.1341 -0.1474) |
| OKLCH | oklch(64.24% 0.199 312.3) |
| XYZ | xyz(36.9640, 23.6814, 74.5605) |
| Luminance | 0.2368 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.56
Bright Lilac
#C95EFB
ΔE00 4.33
Bright Lavender
#C760FF
ΔE00 4.62
Light Urple
#B36FF6
ΔE00 4.71
Lighter Purple
#A55AF4
ΔE00 4.75
Lightish Purple
#A552E6
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B560E2 #8DE260
analogous
#7460E2 #B560E2 #E260CE
triadic
#B560E2 #E2B560 #60E2B5
tetradic
#B560E2 #E27460 #8DE260 #60CEE2
square
#B560E2 #E27460 #8DE260 #60CEE2
split-complementary
#B560E2 #CEE260 #60E274
monochromatic
#791FA9 #9D2CD9 #B560E2 #CD94EB #E5C8F5
Accessibility & contrast
On white
3.66
#B560E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#B560E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B560E2
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B560E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B560E2 | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3781E6
Deuteranopia (green-blind)
#5887DF
Tritanopia (blue-blind)
#B07798
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #b560e2; /* rgb */ color: rgb(181, 96, 226); /* oklch */ color: oklch(64.2% 0.199 312.3);
Tailwind
colors: {
custom: {
50: '#ce91ec',
500: '#b560e2',
950: '#000000',
},
}SCSS
$custom: #b560e2; $custom-light: #ce91ec; $custom-dark: #000000;
JSON
{
"hex": "#b560e2",
"rgb": {
"r": 181,
"g": 96,
"b": 226
},
"hsl": {
"h": 279.231,
"s": 69.149,
"l": 63.137
},
"oklch": {
"l": 0.64235,
"c": 0.19929,
"h": 312.3
},
"luminance": 0.2368
}Semantic roles & 50–950 ramp
primary
#B560E2
secondary
#C8E6B8
accent
#D11456
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84