#BA80FF#BA80FF
#BA80FF is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.1% C 0.185 H 303.1°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #BA80FF |
|---|---|
| RGB | rgb(186, 128, 255) |
| HSL | hsl(267, 100%, 75%) |
| HSV | hsv(267, 50%, 100%) |
| CMYK | cmyk(27.1%, 49.8%, 0%, 0%) |
| CIE-LAB | lab(64.24, 46.74, -55.12) |
| CIE-LCH | lch(64.24, 72.27, 310.30°) |
| OKLab | oklab(71.11% 0.101 -0.1549) |
| OKLCH | oklch(71.11% 0.185 303.1) |
| XYZ | xyz(46.0149, 33.0975, 98.5526) |
| Luminance | 0.3310 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.83
Easter Purple
#C071FE
ΔE00 3.58
Liliac
#C48EFD
ΔE00 3.93
Light Urple
#B36FF6
ΔE00 4.34
Bright Lavender
#C760FF
ΔE00 6.91
Bright Lilac
#C95EFB
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA80FF #C5FF80
analogous
#8085FF #BA80FF #FA80FF
triadic
#BA80FF #FFBA80 #80FFBA
tetradic
#BA80FF #FF8085 #C5FF80 #80FFFA
square
#BA80FF #FF8085 #C5FF80 #80FFFA
split-complementary
#BA80FF #FFFA80 #85FF80
monochromatic
#7806FF #9943FF #BA80FF #DBBDFF #EEE0FF
Accessibility & contrast
On white
2.76
#BA80FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.62
#BA80FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA80FF
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA80FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA80FF | 1.00 | 2.76 | 7.62 | 7.62 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#689BFC
Tritanopia (blue-blind)
#AE97B4
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #ba80ff; /* rgb */ color: rgb(186, 128, 255); /* oklch */ color: oklch(71.1% 0.185 303.1);
Tailwind
colors: {
custom: {
50: '#d2a6ff',
500: '#ba80ff',
950: '#000000',
},
}SCSS
$custom: #ba80ff; $custom-light: #d2a6ff; $custom-dark: #000000;
JSON
{
"hex": "#ba80ff",
"rgb": {
"r": 186,
"g": 128,
"b": 255
},
"hsl": {
"h": 267.402,
"s": 100,
"l": 75.098
},
"oklch": {
"l": 0.71108,
"c": 0.18492,
"h": 303.1
},
"luminance": 0.33097
}Semantic roles & 50–950 ramp
primary
#BA80FF
secondary
#E7F7D4
accent
#E6007D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86