#B560F2#B560F2
#B560F2 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.2% C 0.216 H 308.4°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B560F2 |
|---|---|
| RGB | rgb(181, 96, 242) |
| HSL | hsl(275, 85%, 66%) |
| HSV | hsv(275, 60%, 95%) |
| CMYK | cmyk(25.2%, 60.3%, 0%, 5.1%) |
| CIE-LAB | lab(56.68, 59.08, -60.03) |
| CIE-LCH | lch(56.68, 84.23, 314.54°) |
| OKLab | oklab(65.2% 0.1342 -0.1693) |
| OKLCH | oklch(65.2% 0.216 308.4) |
| XYZ | xyz(39.2627, 24.6009, 86.6673) |
| Luminance | 0.2460 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 3.27
Bright Lilac
#C95EFB
ΔE00 3.38
Light Urple
#B36FF6
ΔE00 3.39
Lighter Purple
#A55AF4
ΔE00 3.48
Easter Purple
#C071FE
ΔE00 4.64
Lightish Purple
#A552E6
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B560F2 #9DF260
analogous
#6C60F2 #B560F2 #F260E6
triadic
#B560F2 #F2B560 #60F2B5
tetradic
#B560F2 #F26C60 #9DF260 #60E6F2
square
#B560F2 #F26C60 #9DF260 #60E6F2
split-complementary
#B560F2 #E6F260 #60F26C
monochromatic
#7B10C7 #9B27ED #B560F2 #CF99F7 #EAD1FB
Accessibility & contrast
On white
3.55
#B560F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#B560F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B560F2
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B560F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B560F2 | 1.00 | 3.55 | 5.92 | 5.92 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C85F7
Deuteranopia (green-blind)
#4A89EF
Tritanopia (blue-blind)
#AC7DA0
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #b560f2; /* rgb */ color: rgb(181, 96, 242); /* oklch */ color: oklch(65.2% 0.216 308.4);
Tailwind
colors: {
custom: {
50: '#cf91f7',
500: '#b560f2',
950: '#000000',
},
}SCSS
$custom: #b560f2; $custom-light: #cf91f7; $custom-dark: #000000;
JSON
{
"hex": "#b560f2",
"rgb": {
"r": 181,
"g": 96,
"b": 242
},
"hsl": {
"h": 274.932,
"s": 84.884,
"l": 66.275
},
"oklch": {
"l": 0.65198,
"c": 0.21604,
"h": 308.4
},
"luminance": 0.246
}Semantic roles & 50–950 ramp
primary
#B560F2
secondary
#D3EFBF
accent
#E10461
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85