#BA6EF3#BA6EF3
#BA6EF3 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.7% C 0.198 H 308.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #BA6EF3 |
|---|---|
| RGB | rgb(186, 110, 243) |
| HSL | hsl(274, 85%, 69%) |
| HSV | hsv(274, 55%, 95%) |
| CMYK | cmyk(23.5%, 54.7%, 0%, 4.7%) |
| CIE-LAB | lab(59.95, 53.49, -55.34) |
| CIE-LCH | lch(59.95, 76.97, 314.02°) |
| OKLab | oklab(67.73% 0.1232 -0.1555) |
| OKLCH | oklch(67.73% 0.198 308.4) |
| XYZ | xyz(42.0001, 28.0626, 87.9807) |
| Luminance | 0.2806 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.51
Easter Purple
#C071FE
ΔE00 1.84
Light Purple
#BF77F6
ΔE00 2.31
Bright Lavender
#C760FF
ΔE00 3.29
Bright Lilac
#C95EFB
ΔE00 3.60
Lighter Purple
#A55AF4
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA6EF3 #A7F36E
analogous
#786EF3 #BA6EF3 #F36EE9
triadic
#BA6EF3 #F3BA6E #6EF3BA
tetradic
#BA6EF3 #F3786E #A7F36E #6EE9F3
square
#BA6EF3 #F3786E #A7F36E #6EE9F3
split-complementary
#BA6EF3 #E9F36E #6EF378
monochromatic
#8112D5 #9F35EE #BA6EF3 #D5A7F8 #F0DFFC
Accessibility & contrast
On white
3.18
#BA6EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.61
#BA6EF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA6EF3
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA6EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA6EF3 | 1.00 | 3.18 | 6.61 | 6.61 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#428DF7
Deuteranopia (green-blind)
#5D91F0
Tritanopia (blue-blind)
#B286A6
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #ba6ef3; /* rgb */ color: rgb(186, 110, 243); /* oklch */ color: oklch(67.7% 0.198 308.4);
Tailwind
colors: {
custom: {
50: '#d29af8',
500: '#ba6ef3',
950: '#000000',
},
}SCSS
$custom: #ba6ef3; $custom-light: #d29af8; $custom-dark: #000000;
JSON
{
"hex": "#ba6ef3",
"rgb": {
"r": 186,
"g": 110,
"b": 243
},
"hsl": {
"h": 274.286,
"s": 84.713,
"l": 69.216
},
"oklch": {
"l": 0.67727,
"c": 0.19841,
"h": 308.4
},
"luminance": 0.28062
}Semantic roles & 50–950 ramp
primary
#BA6EF3
secondary
#DCF2CB
accent
#E10463
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85