#B560F5#B560F5
#B560F5 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.4% C 0.219 H 307.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B560F5 |
|---|---|
| RGB | rgb(181, 96, 245) |
| HSL | hsl(274, 88%, 67%) |
| HSV | hsv(274, 61%, 96%) |
| CMYK | cmyk(26.1%, 60.8%, 0%, 3.9%) |
| CIE-LAB | lab(56.86, 59.74, -61.42) |
| CIE-LCH | lch(56.86, 85.68, 314.21°) |
| OKLab | oklab(65.39% 0.1341 -0.1734) |
| OKLCH | oklch(65.39% 0.219 307.7) |
| XYZ | xyz(39.7170, 24.7826, 89.0597) |
| Luminance | 0.2478 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 3.16
Light Urple
#B36FF6
ΔE00 3.29
Bright Lilac
#C95EFB
ΔE00 3.36
Lighter Purple
#A55AF4
ΔE00 3.40
Easter Purple
#C071FE
ΔE00 4.51
Lightish Purple
#A552E6
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B560F5 #A0F560
analogous
#6B60F5 #B560F5 #F560EB
triadic
#B560F5 #F5B560 #60F5B5
tetradic
#B560F5 #F56B60 #A0F560 #60EBF5
square
#B560F5 #F56B60 #A0F560 #60EBF5
split-complementary
#B560F5 #EBF560 #60F56B
monochromatic
#7B0DCE #9A26F1 #B560F5 #D09AF9 #EBD3FC
Accessibility & contrast
On white
3.53
#B560F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#B560F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B560F5
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B560F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B560F5 | 1.00 | 3.53 | 5.96 | 5.96 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1385FA
Deuteranopia (green-blind)
#4789F2
Tritanopia (blue-blind)
#AB7EA2
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #b560f5; /* rgb */ color: rgb(181, 96, 245); /* oklch */ color: oklch(65.4% 0.219 307.7);
Tailwind
colors: {
custom: {
50: '#cf91f9',
500: '#b560f5',
950: '#000000',
},
}SCSS
$custom: #b560f5; $custom-light: #cf91f9; $custom-dark: #000000;
JSON
{
"hex": "#b560f5",
"rgb": {
"r": 181,
"g": 96,
"b": 245
},
"hsl": {
"h": 274.228,
"s": 88.166,
"l": 66.863
},
"oklch": {
"l": 0.65385,
"c": 0.21918,
"h": 307.7
},
"luminance": 0.24782
}Semantic roles & 50–950 ramp
primary
#B560F5
secondary
#D5F0C1
accent
#E50163
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85