#B579F2#B579F2
#B579F2 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.8% C 0.179 H 305.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B579F2 |
|---|---|
| RGB | rgb(181, 121, 242) |
| HSL | hsl(270, 82%, 71%) |
| HSV | hsv(270, 50%, 95%) |
| CMYK | cmyk(25.2%, 50%, 0%, 5.1%) |
| CIE-LAB | lab(61.58, 46.21, -52.23) |
| CIE-LCH | lch(61.58, 69.73, 311.50°) |
| OKLab | oklab(68.79% 0.1029 -0.1466) |
| OKLCH | oklch(68.79% 0.179 305.1) |
| XYZ | xyz(41.9170, 29.9095, 87.5520) |
| Luminance | 0.2991 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.84
Light Urple
#B36FF6
ΔE00 2.55
Easter Purple
#C071FE
ΔE00 2.83
Liliac
#C48EFD
ΔE00 5.66
Bright Lavender
#C760FF
ΔE00 5.77
Bright Lilac
#C95EFB
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B579F2 #B6F279
analogous
#7979F2 #B579F2 #F179F2
triadic
#B579F2 #F2B579 #79F2B5
tetradic
#B579F2 #F27979 #B6F279 #79F2F1
square
#B579F2 #F27979 #B6F279 #79F2F1
split-complementary
#B579F2 #F2F179 #79F279
monochromatic
#7715DB #9641ED #B579F2 #D4B1F7 #F0E3FC
Accessibility & contrast
On white
3.01
#B579F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#B579F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B579F2
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B579F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B579F2 | 1.00 | 3.01 | 6.98 | 6.98 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#6695EF
Tritanopia (blue-blind)
#AB8FAA
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b579f2; /* rgb */ color: rgb(181, 121, 242); /* oklch */ color: oklch(68.8% 0.179 305.1);
Tailwind
colors: {
custom: {
50: '#cea1f7',
500: '#b579f2',
950: '#000000',
},
}SCSS
$custom: #b579f2; $custom-light: #cea1f7; $custom-dark: #000000;
JSON
{
"hex": "#b579f2",
"rgb": {
"r": 181,
"g": 121,
"b": 242
},
"hsl": {
"h": 269.752,
"s": 82.313,
"l": 71.176
},
"oklch": {
"l": 0.68792,
"c": 0.17909,
"h": 305.1
},
"luminance": 0.29909
}Semantic roles & 50–950 ramp
primary
#B579F2
secondary
#E4F3D3
accent
#DF0774
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85