#B577F2#B577F2
#B577F2 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.5% C 0.182 H 305.4°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #B577F2 |
|---|---|
| RGB | rgb(181, 119, 242) |
| HSL | hsl(270, 83%, 71%) |
| HSV | hsv(270, 51%, 95%) |
| CMYK | cmyk(25.2%, 50.8%, 0%, 5.1%) |
| CIE-LAB | lab(61.16, 47.28, -52.89) |
| CIE-LCH | lch(61.16, 70.94, 311.79°) |
| OKLab | oklab(68.48% 0.1055 -0.1485) |
| OKLCH | oklch(68.48% 0.182 305.4) |
| XYZ | xyz(41.6765, 29.4285, 87.4719) |
| Luminance | 0.2943 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.79
Light Urple
#B36FF6
ΔE00 2.09
Easter Purple
#C071FE
ΔE00 2.55
Bright Lavender
#C760FF
ΔE00 5.35
Bright Lilac
#C95EFB
ΔE00 5.74
Liliac
#C48EFD
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B577F2 #B4F277
analogous
#7777F2 #B577F2 #F277F1
triadic
#B577F2 #F2B577 #77F2B5
tetradic
#B577F2 #F27777 #B4F277 #77F1F2
square
#B577F2 #F27777 #B4F277 #77F1F2
split-complementary
#B577F2 #F1F277 #77F277
monochromatic
#7815DA #973FED #B577F2 #D3AFF7 #F0E3FC
Accessibility & contrast
On white
3.05
#B577F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.89
#B577F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B577F2
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B577F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B577F2 | 1.00 | 3.05 | 6.89 | 6.89 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#6394EF
Tritanopia (blue-blind)
#AB8DAA
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b577f2; /* rgb */ color: rgb(181, 119, 242); /* oklch */ color: oklch(68.5% 0.182 305.4);
Tailwind
colors: {
custom: {
50: '#cea0f7',
500: '#b577f2',
950: '#000000',
},
}SCSS
$custom: #b577f2; $custom-light: #cea0f7; $custom-dark: #000000;
JSON
{
"hex": "#b577f2",
"rgb": {
"r": 181,
"g": 119,
"b": 242
},
"hsl": {
"h": 270.244,
"s": 82.55,
"l": 70.784
},
"oklch": {
"l": 0.68482,
"c": 0.18218,
"h": 305.4
},
"luminance": 0.29428
}Semantic roles & 50–950 ramp
primary
#B577F2
secondary
#E2F3D2
accent
#DF0772
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85