#BA66E8#BA66E8
#BA66E8 is a light, vivid violet. Relative luminance 0.258; OKLCH L 66.0% C 0.199 H 312.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #BA66E8 |
|---|---|
| RGB | rgb(186, 102, 232) |
| HSL | hsl(279, 74%, 65%) |
| HSV | hsv(279, 56%, 91%) |
| CMYK | cmyk(19.8%, 56%, 0%, 9%) |
| CIE-LAB | lab(57.82, 55.15, -52.61) |
| CIE-LCH | lch(57.82, 76.22, 316.35°) |
| OKLab | oklab(65.97% 0.1329 -0.1475) |
| OKLCH | oklch(65.97% 0.199 312) |
| XYZ | xyz(39.5640, 25.7690, 79.2180) |
| Luminance | 0.2577 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 3.26
Light Urple
#B36FF6
ΔE00 3.42
Bright Lavender
#C760FF
ΔE00 3.46
Easter Purple
#C071FE
ΔE00 4.12
Light Purple
#BF77F6
ΔE00 4.44
Mediumorchid
#BA55D3
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA66E8 #94E866
analogous
#7966E8 #BA66E8 #E866D5
triadic
#BA66E8 #E8BA66 #66E8BA
tetradic
#BA66E8 #E87966 #94E866 #66D5E8
square
#BA66E8 #E87966 #94E866 #66D5E8
split-complementary
#BA66E8 #D5E866 #66E879
monochromatic
#811CB8 #A231E0 #BA66E8 #D29BF0 #EAD0F8
Accessibility & contrast
On white
3.41
#BA66E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#BA66E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA66E8
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA66E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA66E8 | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F87EC
Deuteranopia (green-blind)
#5E8DE5
Tritanopia (blue-blind)
#B57D9D
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #ba66e8; /* rgb */ color: rgb(186, 102, 232); /* oklch */ color: oklch(66.0% 0.199 312.0);
Tailwind
colors: {
custom: {
50: '#d295f0',
500: '#ba66e8',
950: '#000000',
},
}SCSS
$custom: #ba66e8; $custom-light: #d295f0; $custom-dark: #000000;
JSON
{
"hex": "#ba66e8",
"rgb": {
"r": 186,
"g": 102,
"b": 232
},
"hsl": {
"h": 278.769,
"s": 73.864,
"l": 65.49
},
"oklch": {
"l": 0.65972,
"c": 0.19851,
"h": 312
},
"luminance": 0.25768
}Semantic roles & 50–950 ramp
primary
#BA66E8
secondary
#CFEBBF
accent
#D61056
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D16
muted
#837E84