#BA6ED1#BA6ED1
#BA6ED1 is a light, vivid purple. Relative luminance 0.262; OKLCH L 65.9% C 0.162 H 318.0°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #BA6ED1 |
|---|---|
| RGB | rgb(186, 110, 209) |
| HSL | hsl(286, 52%, 63%) |
| HSV | hsv(286, 47%, 82%) |
| CMYK | cmyk(11%, 47.4%, 0%, 18%) |
| CIE-LAB | lab(58.22, 46.25, -39.04) |
| CIE-LCH | lch(58.22, 60.52, 319.83°) |
| OKLab | oklab(65.89% 0.12 -0.1081) |
| OKLCH | oklch(65.89% 0.162 318) |
| XYZ | xyz(37.3327, 26.1957, 63.3989) |
| Luminance | 0.2619 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 5.32
Mediumorchid
#BA55D3
ΔE00 5.72
Soft Purple
#A66FB5
ΔE00 5.74
Orchid
#DA70D6
ΔE00 6.06
Wisteria
#A87DC2
ΔE00 6.11
Light Purple
#BF77F6
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA6ED1 #85D16E
analogous
#896ED1 #BA6ED1 #D16EB6
triadic
#BA6ED1 #D1BA6E #6ED1BA
tetradic
#BA6ED1 #D1896E #85D16E #6EB6D1
square
#BA6ED1 #D1896E #85D16E #6EB6D1
split-complementary
#BA6ED1 #B6D16E #6ED189
monochromatic
#7E2F95 #A440C2 #BA6ED1 #D09CE0 #E6CBEE
Accessibility & contrast
On white
3.37
#BA6ED1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#BA6ED1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA6ED1
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA6ED1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA6ED1 | 1.00 | 3.37 | 6.24 | 6.24 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D87D4
Deuteranopia (green-blind)
#728FCE
Tritanopia (blue-blind)
#BA7C96
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #ba6ed1; /* rgb */ color: rgb(186, 110, 209); /* oklch */ color: oklch(65.9% 0.162 318.0);
Tailwind
colors: {
custom: {
50: '#d19adf',
500: '#ba6ed1',
950: '#000000',
},
}SCSS
$custom: #ba6ed1; $custom-light: #d19adf; $custom-dark: #000000;
JSON
{
"hex": "#ba6ed1",
"rgb": {
"r": 186,
"g": 110,
"b": 209
},
"hsl": {
"h": 286.061,
"s": 51.832,
"l": 62.549
},
"oklch": {
"l": 0.65893,
"c": 0.16151,
"h": 318
},
"luminance": 0.26194
}Semantic roles & 50–950 ramp
primary
#BA6ED1
secondary
#C4DFBB
accent
#BF264A
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83