#BA73F9#BA73F9
#BA73F9 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.8% C 0.198 H 306.4°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #BA73F9 |
|---|---|
| RGB | rgb(186, 115, 249) |
| HSL | hsl(272, 92%, 71%) |
| HSV | hsv(272, 54%, 98%) |
| CMYK | cmyk(25.3%, 53.8%, 0%, 2.4%) |
| CIE-LAB | lab(61.26, 52.25, -56.57) |
| CIE-LCH | lch(61.26, 77.01, 312.73°) |
| OKLab | oklab(68.8% 0.1172 -0.1591) |
| OKLCH | oklch(68.8% 0.198 306.4) |
| XYZ | xyz(43.4758, 29.5405, 93.0157) |
| Luminance | 0.2954 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 1.14
Light Purple
#BF77F6
ΔE00 1.54
Light Urple
#B36FF6
ΔE00 1.61
Bright Lavender
#C760FF
ΔE00 4.05
Bright Lilac
#C95EFB
ΔE00 4.53
Liliac
#C48EFD
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA73F9 #B2F973
analogous
#7773F9 #BA73F9 #F973F5
triadic
#BA73F9 #F9BA73 #73F9BA
tetradic
#BA73F9 #F97773 #B2F973 #73F5F9
square
#BA73F9 #F97773 #B2F973 #73F5F9
split-complementary
#BA73F9 #F5F973 #73F977
monochromatic
#7F0AE8 #9D38F6 #BA73F9 #D7AEFC #F1E2FE
Accessibility & contrast
On white
3.04
#BA73F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.91
#BA73F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA73F9
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA73F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA73F9 | 1.00 | 3.04 | 6.91 | 6.91 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4691FD
Deuteranopia (green-blind)
#5E94F6
Tritanopia (blue-blind)
#B08CAB
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #ba73f9; /* rgb */ color: rgb(186, 115, 249); /* oklch */ color: oklch(68.8% 0.198 306.4);
Tailwind
colors: {
custom: {
50: '#d29efc',
500: '#ba73f9',
950: '#000000',
},
}SCSS
$custom: #ba73f9; $custom-light: #d29efc; $custom-dark: #000000;
JSON
{
"hex": "#ba73f9",
"rgb": {
"r": 186,
"g": 115,
"b": 249
},
"hsl": {
"h": 271.791,
"s": 91.781,
"l": 71.373
},
"oklch": {
"l": 0.68797,
"c": 0.19761,
"h": 306.4
},
"luminance": 0.2954
}Semantic roles & 50–950 ramp
primary
#BA73F9
secondary
#E3F5D2
accent
#E6006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85