#B579F8#B579F8
#B579F8 is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.1% C 0.186 H 303.7°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B579F8 |
|---|---|
| RGB | rgb(181, 121, 248) |
| HSL | hsl(268, 90%, 72%) |
| HSV | hsv(268, 51%, 97%) |
| CMYK | cmyk(27%, 51.2%, 0%, 2.7%) |
| CIE-LAB | lab(61.89, 47.60, -55.04) |
| CIE-LCH | lch(61.89, 72.77, 310.85°) |
| OKLab | oklab(69.13% 0.1034 -0.1548) |
| OKLCH | oklch(69.13% 0.186 303.7) |
| XYZ | xyz(42.8330, 30.2759, 92.3760) |
| Luminance | 0.3028 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.06
Light Urple
#B36FF6
ΔE00 2.43
Easter Purple
#C071FE
ΔE00 2.57
Liliac
#C48EFD
ΔE00 5.66
Bright Lavender
#C760FF
ΔE00 5.68
Bright Lilac
#C95EFB
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B579F8 #BCF879
analogous
#797DF8 #B579F8 #F479F8
triadic
#B579F8 #F8B579 #79F8B5
tetradic
#B579F8 #F8797D #BCF879 #79F8F4
square
#B579F8 #F8797D #BCF879 #79F8F4
split-complementary
#B579F8 #F8F479 #7DF879
monochromatic
#750CEA #953FF5 #B579F8 #D5B3FB #EFE2FD
Accessibility & contrast
On white
2.98
#B579F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#B579F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B579F8
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B579F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B579F8 | 1.00 | 2.98 | 7.06 | 7.06 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5094FC
Deuteranopia (green-blind)
#6195F5
Tritanopia (blue-blind)
#A990AD
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b579f8; /* rgb */ color: rgb(181, 121, 248); /* oklch */ color: oklch(69.1% 0.186 303.7);
Tailwind
colors: {
custom: {
50: '#cea1fb',
500: '#b579f8',
950: '#000000',
},
}SCSS
$custom: #b579f8; $custom-light: #cea1fb; $custom-dark: #000000;
JSON
{
"hex": "#b579f8",
"rgb": {
"r": 181,
"g": 121,
"b": 248
},
"hsl": {
"h": 268.346,
"s": 90.071,
"l": 72.353
},
"oklch": {
"l": 0.69129,
"c": 0.18615,
"h": 303.7
},
"luminance": 0.30276
}Semantic roles & 50–950 ramp
primary
#B579F8
secondary
#E6F6D5
accent
#E60079
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85