#BA76F2#BA76F2
#BA76F2 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.8% C 0.185 H 307.6°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #BA76F2 |
|---|---|
| RGB | rgb(186, 118, 242) |
| HSL | hsl(273, 83%, 71%) |
| HSV | hsv(273, 51%, 95%) |
| CMYK | cmyk(23.1%, 51.2%, 0%, 5.1%) |
| CIE-LAB | lab(61.49, 49.10, -52.34) |
| CIE-LCH | lch(61.49, 71.76, 313.17°) |
| OKLab | oklab(68.85% 0.1129 -0.1468) |
| OKLCH | oklch(68.85% 0.185 307.6) |
| XYZ | xyz(42.7519, 29.8073, 87.4884) |
| Luminance | 0.2981 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 0.97
Easter Purple
#C071FE
ΔE00 2.06
Light Urple
#B36FF6
ΔE00 2.38
Bright Lavender
#C760FF
ΔE00 4.82
Bright Lilac
#C95EFB
ΔE00 5.13
Liliac
#C48EFD
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA76F2 #AEF276
analogous
#7C76F2 #BA76F2 #F276EC
triadic
#BA76F2 #F2BA76 #76F2BA
tetradic
#BA76F2 #F27C76 #AEF276 #76ECF2
square
#BA76F2 #F27C76 #AEF276 #76ECF2
split-complementary
#BA76F2 #ECF276 #76F27C
monochromatic
#8015D9 #9E3EED #BA76F2 #D6AEF7 #F1E3FC
Accessibility & contrast
On white
3.02
#BA76F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#BA76F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA76F2
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA76F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA76F2 | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#6695EF
Tritanopia (blue-blind)
#B28CA9
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #ba76f2; /* rgb */ color: rgb(186, 118, 242); /* oklch */ color: oklch(68.8% 0.185 307.6);
Tailwind
colors: {
custom: {
50: '#d19ff7',
500: '#ba76f2',
950: '#000000',
},
}SCSS
$custom: #ba76f2; $custom-light: #d19ff7; $custom-dark: #000000;
JSON
{
"hex": "#ba76f2",
"rgb": {
"r": 186,
"g": 118,
"b": 242
},
"hsl": {
"h": 272.903,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.68847,
"c": 0.18514,
"h": 307.6
},
"luminance": 0.29807
}Semantic roles & 50–950 ramp
primary
#BA76F2
secondary
#E0F3D1
accent
#DF0668
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85