#BA6EE6#BA6EE6
#BA6EE6 is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.0% C 0.184 H 311.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #BA6EE6 |
|---|---|
| RGB | rgb(186, 110, 230) |
| HSL | hsl(278, 71%, 67%) |
| HSV | hsv(278, 52%, 90%) |
| CMYK | cmyk(19.1%, 52.2%, 0%, 9.8%) |
| CIE-LAB | lab(59.26, 50.65, -49.21) |
| CIE-LCH | lch(59.26, 70.62, 315.83°) |
| OKLab | oklab(67% 0.1224 -0.1376) |
| OKLCH | oklch(67% 0.184 311.6) |
| XYZ | xyz(40.1060, 27.3050, 78.0052) |
| Luminance | 0.2730 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.18
Light Urple
#B36FF6
ΔE00 3.21
Easter Purple
#C071FE
ΔE00 3.59
Bright Lilac
#C95EFB
ΔE00 4.28
Bright Lavender
#C760FF
ΔE00 4.35
Mediumorchid
#BA55D3
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA6EE6 #9AE66E
analogous
#7E6EE6 #BA6EE6 #E66ED6
triadic
#BA6EE6 #E6BA6E #6EE6BA
tetradic
#BA6EE6 #E67E6E #9AE66E #6ED6E6
square
#BA6EE6 #E67E6E #9AE66E #6ED6E6
split-complementary
#BA6EE6 #D6E66E #6EE67E
monochromatic
#8120BA #A13ADD #BA6EE6 #D3A2EF #ECD6F8
Accessibility & contrast
On white
3.25
#BA6EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#BA6EE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA6EE6
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA6EE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA6EE6 | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E8BEA
Deuteranopia (green-blind)
#6690E3
Tritanopia (blue-blind)
#B582A0
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #ba6ee6; /* rgb */ color: rgb(186, 110, 230); /* oklch */ color: oklch(67.0% 0.184 311.6);
Tailwind
colors: {
custom: {
50: '#d19aee',
500: '#ba6ee6',
950: '#000000',
},
}SCSS
$custom: #ba6ee6; $custom-light: #d19aee; $custom-dark: #000000;
JSON
{
"hex": "#ba6ee6",
"rgb": {
"r": 186,
"g": 110,
"b": 230
},
"hsl": {
"h": 278,
"s": 70.588,
"l": 66.667
},
"oklch": {
"l": 0.66995,
"c": 0.18416,
"h": 311.6
},
"luminance": 0.27304
}Semantic roles & 50–950 ramp
primary
#BA6EE6
secondary
#D3EBC5
accent
#D31359
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84