#B574F2#B574F2
#B574F2 is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.187 H 305.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B574F2 |
|---|---|
| RGB | rgb(181, 116, 242) |
| HSL | hsl(271, 83%, 70%) |
| HSV | hsv(271, 52%, 95%) |
| CMYK | cmyk(25.2%, 52.1%, 0%, 5.1%) |
| CIE-LAB | lab(60.54, 48.88, -53.88) |
| CIE-LCH | lch(60.54, 72.74, 312.22°) |
| OKLab | oklab(68.02% 0.1094 -0.1514) |
| OKLCH | oklch(68.02% 0.187 305.9) |
| XYZ | xyz(41.3251, 28.7257, 87.3547) |
| Luminance | 0.2873 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.45
Light Purple
#BF77F6
ΔE00 1.95
Easter Purple
#C071FE
ΔE00 2.28
Bright Lavender
#C760FF
ΔE00 4.77
Bright Lilac
#C95EFB
ΔE00 5.15
Liliac
#C48EFD
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B574F2 #B1F274
analogous
#7674F2 #B574F2 #F274F0
triadic
#B574F2 #F2B574 #74F2B5
tetradic
#B574F2 #F27674 #B1F274 #74F0F2
square
#B574F2 #F27674 #B1F274 #74F0F2
split-complementary
#B574F2 #F0F274 #74F276
monochromatic
#7914D7 #973CED #B574F2 #D3ACF7 #F0E3FC
Accessibility & contrast
On white
3.11
#B574F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.74
#B574F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B574F2
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B574F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B574F2 | 1.00 | 3.11 | 6.74 | 6.74 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C90F6
Deuteranopia (green-blind)
#6092EF
Tritanopia (blue-blind)
#AB8BA8
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #b574f2; /* rgb */ color: rgb(181, 116, 242); /* oklch */ color: oklch(68.0% 0.187 305.9);
Tailwind
colors: {
custom: {
50: '#ce9ef7',
500: '#b574f2',
950: '#000000',
},
}SCSS
$custom: #b574f2; $custom-light: #ce9ef7; $custom-dark: #000000;
JSON
{
"hex": "#b574f2",
"rgb": {
"r": 181,
"g": 116,
"b": 242
},
"hsl": {
"h": 270.952,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.68024,
"c": 0.18678,
"h": 305.9
},
"luminance": 0.28725
}Semantic roles & 50–950 ramp
primary
#B574F2
secondary
#E0F2CF
accent
#DF066F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85