#BA7AE4#BA7AE4
#BA7AE4 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.7% C 0.163 H 310.6°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #BA7AE4 |
|---|---|
| RGB | rgb(186, 122, 228) |
| HSL | hsl(276, 66%, 69%) |
| HSV | hsv(276, 46%, 89%) |
| CMYK | cmyk(18.4%, 46.5%, 0%, 10.6%) |
| CIE-LAB | lab(61.62, 43.87, -44.36) |
| CIE-LCH | lch(61.62, 62.38, 314.68°) |
| OKLab | oklab(68.72% 0.106 -0.1236) |
| OKLCH | oklch(68.72% 0.163 310.6) |
| XYZ | xyz(41.2103, 29.9603, 76.9957) |
| Luminance | 0.2996 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.91
Easter Purple
#C071FE
ΔE00 4.47
Light Urple
#B36FF6
ΔE00 4.62
Liliac
#C48EFD
ΔE00 5.90
Wisteria
#A87DC2
ΔE00 6.61
Bright Lavender
#C760FF
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA7AE4 #A4E47A
analogous
#857AE4 #BA7AE4 #E47AD9
triadic
#BA7AE4 #E4BA7A #7AE4BA
tetradic
#BA7AE4 #E4857A #A4E47A #7AD9E4
square
#BA7AE4 #E4857A #A4E47A #7AD9E4
split-complementary
#BA7AE4 #D9E47A #7AE485
monochromatic
#8126BD #A047DA #BA7AE4 #D4ADEE #EFE0F9
Accessibility & contrast
On white
3.00
#BA7AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.99
#BA7AE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA7AE4
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA7AE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA7AE4 | 1.00 | 3.00 | 6.99 | 6.99 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6192E8
Deuteranopia (green-blind)
#7396E1
Tritanopia (blue-blind)
#B58BA4
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #ba7ae4; /* rgb */ color: rgb(186, 122, 228); /* oklch */ color: oklch(68.7% 0.163 310.6);
Tailwind
colors: {
custom: {
50: '#d1a2ed',
500: '#ba7ae4',
950: '#000000',
},
}SCSS
$custom: #ba7ae4; $custom-light: #d1a2ed; $custom-dark: #000000;
JSON
{
"hex": "#ba7ae4",
"rgb": {
"r": 186,
"g": 122,
"b": 228
},
"hsl": {
"h": 276.226,
"s": 66.25,
"l": 68.627
},
"oklch": {
"l": 0.68718,
"c": 0.16277,
"h": 310.6
},
"luminance": 0.2996
}Semantic roles & 50–950 ramp
primary
#BA7AE4
secondary
#DAEDCD
accent
#CE1760
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84