#BA6EEF#BA6EEF
#BA6EEF is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.5% C 0.194 H 309.3°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #BA6EEF |
|---|---|
| RGB | rgb(186, 110, 239) |
| HSL | hsl(275, 80%, 68%) |
| HSV | hsv(275, 54%, 94%) |
| CMYK | cmyk(22.2%, 54%, 0%, 6.3%) |
| CIE-LAB | lab(59.73, 52.61, -53.47) |
| CIE-LCH | lch(59.73, 75.01, 314.53°) |
| OKLab | oklab(67.5% 0.123 -0.15) |
| OKLCH | oklch(67.5% 0.194 309.3) |
| XYZ | xyz(41.4026, 27.8236, 84.8340) |
| Luminance | 0.2782 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.94
Easter Purple
#C071FE
ΔE00 2.32
Light Purple
#BF77F6
ΔE00 2.43
Bright Lavender
#C760FF
ΔE00 3.52
Bright Lilac
#C95EFB
ΔE00 3.70
Heliotrope
#D94FF5
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA6EEF #A3EF6E
analogous
#796EEF #BA6EEF #EF6EE3
triadic
#BA6EEF #EFBA6E #6EEFBA
tetradic
#BA6EEF #EF796E #A3EF6E #6EE3EF
square
#BA6EEF #EF796E #A3EF6E #6EE3EF
split-complementary
#BA6EEF #E3EF6E #6EEF79
monochromatic
#8117CC #A037E9 #BA6EEF #D4A5F5 #EEDCFB
Accessibility & contrast
On white
3.20
#BA6EEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.56
#BA6EEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA6EEF
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA6EEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA6EEF | 1.00 | 3.20 | 6.56 | 6.56 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#468DF3
Deuteranopia (green-blind)
#6091EC
Tritanopia (blue-blind)
#B385A4
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #ba6eef; /* rgb */ color: rgb(186, 110, 239); /* oklch */ color: oklch(67.5% 0.194 309.3);
Tailwind
colors: {
custom: {
50: '#d29af5',
500: '#ba6eef',
950: '#000000',
},
}SCSS
$custom: #ba6eef; $custom-light: #d29af5; $custom-dark: #000000;
JSON
{
"hex": "#ba6eef",
"rgb": {
"r": 186,
"g": 110,
"b": 239
},
"hsl": {
"h": 275.349,
"s": 80.124,
"l": 68.431
},
"oklch": {
"l": 0.67498,
"c": 0.19401,
"h": 309.3
},
"luminance": 0.27823
}Semantic roles & 50–950 ramp
primary
#BA6EEF
secondary
#D9F0C9
accent
#DC0960
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85