#BA6EF5#BA6EF5
#BA6EF5 is a light, highly saturated violet. Relative luminance 0.282; OKLCH L 67.8% C 0.201 H 307.9°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #BA6EF5 |
|---|---|
| RGB | rgb(186, 110, 245) |
| HSL | hsl(274, 87%, 70%) |
| HSV | hsv(274, 55%, 96%) |
| CMYK | cmyk(24.1%, 55.1%, 0%, 3.9%) |
| CIE-LAB | lab(60.05, 53.93, -56.28) |
| CIE-LCH | lch(60.05, 77.95, 313.78°) |
| OKLab | oklab(67.84% 0.1233 -0.1582) |
| OKLCH | oklch(67.84% 0.201 307.9) |
| XYZ | xyz(42.3038, 28.1841, 89.5800) |
| Luminance | 0.2818 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.35
Easter Purple
#C071FE
ΔE00 1.65
Light Purple
#BF77F6
ΔE00 2.31
Bright Lavender
#C760FF
ΔE00 3.21
Bright Lilac
#C95EFB
ΔE00 3.58
Lighter Purple
#A55AF4
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA6EF5 #A9F56E
analogous
#776EF5 #BA6EF5 #F56EEC
triadic
#BA6EF5 #F5BA6E #6EF5BA
tetradic
#BA6EF5 #F5776E #A9F56E #6EECF5
square
#BA6EF5 #F5776E #A9F56E #6EECF5
split-complementary
#BA6EF5 #ECF56E #6EF577
monochromatic
#810FDA #9F35F1 #BA6EF5 #D5A7F9 #F0E1FD
Accessibility & contrast
On white
3.16
#BA6EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.64
#BA6EF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA6EF5
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA6EF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA6EF5 | 1.00 | 3.16 | 6.64 | 6.64 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#408EF9
Deuteranopia (green-blind)
#5C92F2
Tritanopia (blue-blind)
#B187A7
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #ba6ef5; /* rgb */ color: rgb(186, 110, 245); /* oklch */ color: oklch(67.8% 0.201 307.9);
Tailwind
colors: {
custom: {
50: '#d29af9',
500: '#ba6ef5',
950: '#000000',
},
}SCSS
$custom: #ba6ef5; $custom-light: #d29af9; $custom-dark: #000000;
JSON
{
"hex": "#ba6ef5",
"rgb": {
"r": 186,
"g": 110,
"b": 245
},
"hsl": {
"h": 273.778,
"s": 87.097,
"l": 69.608
},
"oklch": {
"l": 0.67843,
"c": 0.20061,
"h": 307.9
},
"luminance": 0.28184
}Semantic roles & 50–950 ramp
primary
#BA6EF5
secondary
#DDF3CC
accent
#E40265
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85