#BA80FA#BA80FA
#BA80FA is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.8% C 0.179 H 304.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #BA80FA |
|---|---|
| RGB | rgb(186, 128, 250) |
| HSL | hsl(269, 92%, 74%) |
| HSV | hsv(269, 49%, 98%) |
| CMYK | cmyk(25.6%, 48.8%, 0%, 2%) |
| CIE-LAB | lab(63.98, 45.58, -52.79) |
| CIE-LCH | lch(63.98, 69.74, 310.81°) |
| OKLab | oklab(70.83% 0.1005 -0.1481) |
| OKLCH | oklch(70.83% 0.179 304.2) |
| XYZ | xyz(45.2205, 32.7797, 94.3688) |
| Luminance | 0.3278 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.48
Easter Purple
#C071FE
ΔE00 3.58
Liliac
#C48EFD
ΔE00 3.76
Light Urple
#B36FF6
ΔE00 4.27
Bright Lavender
#C760FF
ΔE00 6.90
Bright Lilac
#C95EFB
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA80FA #C0FA80
analogous
#8083FA #BA80FA #F780FA
triadic
#BA80FA #FABA80 #80FABA
tetradic
#BA80FA #FA8083 #C0FA80 #80FAF7
square
#BA80FA #FA8083 #C0FA80 #80FAF7
split-complementary
#BA80FA #FAF780 #83FA80
monochromatic
#7A0AF5 #9A45F8 #BA80FA #DABBFC #EFE2FE
Accessibility & contrast
On white
2.78
#BA80FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.56
#BA80FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA80FA
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA80FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA80FA | 1.00 | 2.78 | 7.56 | 7.56 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C99FE
Deuteranopia (green-blind)
#6B9BF7
Tritanopia (blue-blind)
#AF96B1
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #ba80fa; /* rgb */ color: rgb(186, 128, 250); /* oklch */ color: oklch(70.8% 0.179 304.2);
Tailwind
colors: {
custom: {
50: '#d1a6fc',
500: '#ba80fa',
950: '#000000',
},
}SCSS
$custom: #ba80fa; $custom-light: #d1a6fc; $custom-dark: #000000;
JSON
{
"hex": "#ba80fa",
"rgb": {
"r": 186,
"g": 128,
"b": 250
},
"hsl": {
"h": 268.525,
"s": 92.424,
"l": 74.118
},
"oklch": {
"l": 0.70833,
"c": 0.17898,
"h": 304.2
},
"luminance": 0.3278
}Semantic roles & 50–950 ramp
primary
#BA80FA
secondary
#E6F6D5
accent
#E60078
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85