#BA6DF1#BA6DF1
#BA6DF1 is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.5% C 0.198 H 309.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #BA6DF1 |
|---|---|
| RGB | rgb(186, 109, 241) |
| HSL | hsl(275, 83%, 69%) |
| HSV | hsv(275, 55%, 95%) |
| CMYK | cmyk(22.8%, 54.8%, 0%, 5.5%) |
| CIE-LAB | lab(59.64, 53.56, -54.72) |
| CIE-LCH | lch(59.64, 76.57, 314.39°) |
| OKLab | oklab(67.47% 0.1244 -0.1537) |
| OKLCH | oklch(67.47% 0.198 309) |
| XYZ | xyz(41.5924, 27.7279, 86.3630) |
| Luminance | 0.2773 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.73
Easter Purple
#C071FE
ΔE00 2.17
Light Purple
#BF77F6
ΔE00 2.56
Bright Lavender
#C760FF
ΔE00 3.24
Bright Lilac
#C95EFB
ΔE00 3.47
Lighter Purple
#A55AF4
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA6DF1 #A4F16D
analogous
#786DF1 #BA6DF1 #F16DE6
triadic
#BA6DF1 #F1BA6D #6DF1BA
tetradic
#BA6DF1 #F1786D #A4F16D #6DE6F1
square
#BA6DF1 #F1786D #A4F16D #6DE6F1
split-complementary
#BA6DF1 #E6F16D #6DF178
monochromatic
#8114D0 #A035EC #BA6DF1 #D4A5F6 #EFDDFC
Accessibility & contrast
On white
3.21
#BA6DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.55
#BA6DF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA6DF1
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA6DF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA6DF1 | 1.00 | 3.21 | 6.55 | 6.55 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#438CF5
Deuteranopia (green-blind)
#5E91EE
Tritanopia (blue-blind)
#B285A5
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #ba6df1; /* rgb */ color: rgb(186, 109, 241); /* oklch */ color: oklch(67.5% 0.198 309.0);
Tailwind
colors: {
custom: {
50: '#d29af6',
500: '#ba6df1',
950: '#000000',
},
}SCSS
$custom: #ba6df1; $custom-light: #d29af6; $custom-dark: #000000;
JSON
{
"hex": "#ba6df1",
"rgb": {
"r": 186,
"g": 109,
"b": 241
},
"hsl": {
"h": 275,
"s": 82.5,
"l": 68.627
},
"oklch": {
"l": 0.67469,
"c": 0.19771,
"h": 309
},
"luminance": 0.27727
}Semantic roles & 50–950 ramp
primary
#BA6DF1
secondary
#DAF1C9
accent
#DF0761
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85