#BA6FE5#BA6FE5
#BA6FE5 is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.1% C 0.181 H 311.8°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #BA6FE5 |
|---|---|
| RGB | rgb(186, 111, 229) |
| HSL | hsl(278, 69%, 67%) |
| HSV | hsv(278, 52%, 90%) |
| CMYK | cmyk(18.8%, 51.5%, 0%, 10.2%) |
| CIE-LAB | lab(59.40, 49.91, -48.41) |
| CIE-LCH | lch(59.40, 69.54, 315.87°) |
| OKLab | oklab(67.09% 0.121 -0.1353) |
| OKLCH | oklch(67.09% 0.182 311.8) |
| XYZ | xyz(40.0745, 27.4660, 77.3039) |
| Luminance | 0.2747 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.15
Light Urple
#B36FF6
ΔE00 3.37
Easter Purple
#C071FE
ΔE00 3.70
Bright Lilac
#C95EFB
ΔE00 4.52
Bright Lavender
#C760FF
ΔE00 4.60
Mediumorchid
#BA55D3
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA6FE5 #9AE56F
analogous
#7F6FE5 #BA6FE5 #E56FD5
triadic
#BA6FE5 #E5BA6F #6FE5BA
tetradic
#BA6FE5 #E57F6F #9AE56F #6FD5E5
square
#BA6FE5 #E57F6F #9AE56F #6FD5E5
split-complementary
#BA6FE5 #D5E56F #6FE57F
monochromatic
#8121B8 #A13BDC #BA6FE5 #D3A3EE #ECD7F8
Accessibility & contrast
On white
3.23
#BA6FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.49
#BA6FE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA6FE5
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA6FE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA6FE5 | 1.00 | 3.23 | 6.49 | 6.49 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#518BE9
Deuteranopia (green-blind)
#6891E2
Tritanopia (blue-blind)
#B583A0
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #ba6fe5; /* rgb */ color: rgb(186, 111, 229); /* oklch */ color: oklch(67.1% 0.181 311.8);
Tailwind
colors: {
custom: {
50: '#d19bee',
500: '#ba6fe5',
950: '#000000',
},
}SCSS
$custom: #ba6fe5; $custom-light: #d19bee; $custom-dark: #000000;
JSON
{
"hex": "#ba6fe5",
"rgb": {
"r": 186,
"g": 111,
"b": 229
},
"hsl": {
"h": 278.136,
"s": 69.412,
"l": 66.667
},
"oklch": {
"l": 0.67088,
"c": 0.1815,
"h": 311.8
},
"luminance": 0.27465
}Semantic roles & 50–950 ramp
primary
#BA6FE5
secondary
#D3EBC5
accent
#D11459
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84