#BA6ECC#BA6ECC
#BA6ECC is a light, vivid purple. Relative luminance 0.260; OKLCH L 65.6% C 0.156 H 319.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #BA6ECC |
|---|---|
| RGB | rgb(186, 110, 204) |
| HSL | hsl(289, 48%, 62%) |
| HSV | hsv(289, 46%, 80%) |
| CMYK | cmyk(8.8%, 46.1%, 0%, 20%) |
| CIE-LAB | lab(57.99, 45.24, -36.57) |
| CIE-LCH | lch(57.99, 58.17, 321.05°) |
| OKLab | oklab(65.65% 0.1192 -0.101) |
| OKLCH | oklch(65.65% 0.156 319.7) |
| XYZ | xyz(36.7233, 25.9519, 60.1898) |
| Luminance | 0.2595 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 4.63
Soft Purple
#A66FB5
ΔE00 5.10
Wisteria
#A87DC2
ΔE00 5.85
Orchid
#DA70D6
ΔE00 5.87
Mediumorchid
#BA55D3
ΔE00 5.97
Light Purple
#BF77F6
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA6ECC #80CC6E
analogous
#8B6ECC #BA6ECC #CC6EAF
triadic
#BA6ECC #CCBA6E #6ECCBA
tetradic
#BA6ECC #CC8B6E #80CC6E #6EAFCC
square
#BA6ECC #CC8B6E #80CC6E #6EAFCC
split-complementary
#BA6ECC #AFCC6E #6ECC8B
monochromatic
#7C328E #A442BB #BA6ECC #D09BDC #E5C9EC
Accessibility & contrast
On white
3.39
#BA6ECC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#BA6ECC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA6ECC
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA6ECC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA6ECC | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#758EC9
Tritanopia (blue-blind)
#BB7A93
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #ba6ecc; /* rgb */ color: rgb(186, 110, 204); /* oklch */ color: oklch(65.6% 0.156 319.7);
Tailwind
colors: {
custom: {
50: '#d09adc',
500: '#ba6ecc',
950: '#000000',
},
}SCSS
$custom: #ba6ecc; $custom-light: #d09adc; $custom-dark: #000000;
JSON
{
"hex": "#ba6ecc",
"rgb": {
"r": 186,
"g": 110,
"b": 204
},
"hsl": {
"h": 288.511,
"s": 47.959,
"l": 61.569
},
"oklch": {
"l": 0.65646,
"c": 0.15624,
"h": 319.7
},
"luminance": 0.25951
}Semantic roles & 50–950 ramp
primary
#BA6ECC
secondary
#C0DCB9
accent
#BB2A46
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83