#BA76F0#BA76F0
#BA76F0 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.7% C 0.183 H 308.0°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #BA76F0 |
|---|---|
| RGB | rgb(186, 118, 240) |
| HSL | hsl(273, 80%, 70%) |
| HSV | hsv(273, 51%, 94%) |
| CMYK | cmyk(22.5%, 50.8%, 0%, 5.9%) |
| CIE-LAB | lab(61.38, 48.65, -51.39) |
| CIE-LCH | lch(61.38, 70.77, 313.43°) |
| OKLab | oklab(68.74% 0.1127 -0.144) |
| OKLCH | oklch(68.74% 0.183 308) |
| XYZ | xyz(42.4532, 29.6878, 85.9150) |
| Luminance | 0.2969 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.11
Easter Purple
#C071FE
ΔE00 2.30
Light Urple
#B36FF6
ΔE00 2.54
Bright Lavender
#C760FF
ΔE00 4.91
Bright Lilac
#C95EFB
ΔE00 5.18
Liliac
#C48EFD
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA76F0 #ACF076
analogous
#7D76F0 #BA76F0 #F076E9
triadic
#BA76F0 #F0BA76 #76F0BA
tetradic
#BA76F0 #F07D76 #ACF076 #76E9F0
square
#BA76F0 #F07D76 #ACF076 #76E9F0
split-complementary
#BA76F0 #E9F076 #76F07D
monochromatic
#8117D4 #9E3FEA #BA76F0 #D6ADF6 #F1E3FC
Accessibility & contrast
On white
3.03
#BA76F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.94
#BA76F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA76F0
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA76F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA76F0 | 1.00 | 3.03 | 6.94 | 6.94 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5391F4
Deuteranopia (green-blind)
#6895ED
Tritanopia (blue-blind)
#B28BA8
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #ba76f0; /* rgb */ color: rgb(186, 118, 240); /* oklch */ color: oklch(68.7% 0.183 308.0);
Tailwind
colors: {
custom: {
50: '#d19ff5',
500: '#ba76f0',
950: '#000000',
},
}SCSS
$custom: #ba76f0; $custom-light: #d19ff5; $custom-dark: #000000;
JSON
{
"hex": "#ba76f0",
"rgb": {
"r": 186,
"g": 118,
"b": 240
},
"hsl": {
"h": 273.443,
"s": 80.263,
"l": 70.196
},
"oklch": {
"l": 0.68737,
"c": 0.18286,
"h": 308
},
"luminance": 0.29687
}Semantic roles & 50–950 ramp
primary
#BA76F0
secondary
#DFF2D0
accent
#DD0967
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140F17
muted
#837E85