#B560F7#B560F7
#B560F7 is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.5% C 0.221 H 307.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B560F7 |
|---|---|
| RGB | rgb(181, 96, 247) |
| HSL | hsl(274, 90%, 67%) |
| HSV | hsv(274, 61%, 97%) |
| CMYK | cmyk(26.7%, 61.1%, 0%, 3.1%) |
| CIE-LAB | lab(56.98, 60.19, -62.33) |
| CIE-LCH | lch(56.98, 86.65, 314.00°) |
| OKLab | oklab(65.51% 0.134 -0.1761) |
| OKLCH | oklch(65.51% 0.221 307.3) |
| XYZ | xyz(40.0239, 24.9054, 90.6764) |
| Luminance | 0.2490 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 3.11
Light Urple
#B36FF6
ΔE00 3.24
Bright Lilac
#C95EFB
ΔE00 3.37
Lighter Purple
#A55AF4
ΔE00 3.38
Easter Purple
#C071FE
ΔE00 4.45
Lightish Purple
#A552E6
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B560F7 #A2F760
analogous
#6A60F7 #B560F7 #F760ED
triadic
#B560F7 #F7B560 #60F7B5
tetradic
#B560F7 #F76A60 #A2F760 #60EDF7
square
#B560F7 #F76A60 #A2F760 #60EDF7
split-complementary
#B560F7 #EDF760 #60F76A
monochromatic
#7B0BD2 #9A26F4 #B560F7 #D09AFA #EBD5FD
Accessibility & contrast
On white
3.51
#B560F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#B560F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B560F7
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B560F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B560F7 | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A86FC
Deuteranopia (green-blind)
#448AF4
Tritanopia (blue-blind)
#AB7EA3
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #b560f7; /* rgb */ color: rgb(181, 96, 247); /* oklch */ color: oklch(65.5% 0.221 307.3);
Tailwind
colors: {
custom: {
50: '#cf91fb',
500: '#b560f7',
950: '#000000',
},
}SCSS
$custom: #b560f7; $custom-light: #cf91fb; $custom-dark: #000000;
JSON
{
"hex": "#b560f7",
"rgb": {
"r": 181,
"g": 96,
"b": 247
},
"hsl": {
"h": 273.775,
"s": 90.419,
"l": 67.255
},
"oklch": {
"l": 0.65511,
"c": 0.22129,
"h": 307.3
},
"luminance": 0.24905
}Semantic roles & 50–950 ramp
primary
#B560F7
secondary
#D6F1C2
accent
#E60064
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85