#BA6CF3#BA6CF3
#BA6CF3 is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.4% C 0.201 H 308.6°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #BA6CF3 |
|---|---|
| RGB | rgb(186, 108, 243) |
| HSL | hsl(275, 85%, 69%) |
| HSV | hsv(275, 56%, 95%) |
| CMYK | cmyk(23.5%, 55.6%, 0%, 4.7%) |
| CIE-LAB | lab(59.56, 54.51, -55.96) |
| CIE-LCH | lch(59.56, 78.12, 314.25°) |
| OKLab | oklab(67.44% 0.1257 -0.1573) |
| OKLCH | oklch(67.44% 0.201 308.6) |
| XYZ | xyz(41.7867, 27.6359, 87.9096) |
| Luminance | 0.2763 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.59
Easter Purple
#C071FE
ΔE00 2.09
Light Purple
#BF77F6
ΔE00 2.73
Bright Lavender
#C760FF
ΔE00 2.99
Bright Lilac
#C95EFB
ΔE00 3.28
Lighter Purple
#A55AF4
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA6CF3 #A5F36C
analogous
#776CF3 #BA6CF3 #F36CE8
triadic
#BA6CF3 #F3BA6C #6CF3BA
tetradic
#BA6CF3 #F3776C #A5F36C #6CE8F3
square
#BA6CF3 #F3776C #A5F36C #6CE8F3
split-complementary
#BA6CF3 #E8F36C #6CF377
monochromatic
#8111D3 #9F33EE #BA6CF3 #D5A5F8 #EFDDFC
Accessibility & contrast
On white
3.22
#BA6CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#BA6CF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA6CF3
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA6CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA6CF3 | 1.00 | 3.22 | 6.53 | 6.53 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F8CF7
Deuteranopia (green-blind)
#5B90F0
Tritanopia (blue-blind)
#B285A5
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #ba6cf3; /* rgb */ color: rgb(186, 108, 243); /* oklch */ color: oklch(67.4% 0.201 308.6);
Tailwind
colors: {
custom: {
50: '#d299f8',
500: '#ba6cf3',
950: '#000000',
},
}SCSS
$custom: #ba6cf3; $custom-light: #d299f8; $custom-dark: #000000;
JSON
{
"hex": "#ba6cf3",
"rgb": {
"r": 186,
"g": 108,
"b": 243
},
"hsl": {
"h": 274.667,
"s": 84.906,
"l": 68.824
},
"oklch": {
"l": 0.67443,
"c": 0.20138,
"h": 308.6
},
"luminance": 0.27635
}Semantic roles & 50–950 ramp
primary
#BA6CF3
secondary
#DAF1C9
accent
#E10462
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85