#BA76C8#BA76C8
#BA76C8 is a light, vivid purple. Relative luminance 0.276; OKLCH L 66.7% C 0.138 H 320.6°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #BA76C8 |
|---|---|
| RGB | rgb(186, 118, 200) |
| HSL | hsl(290, 43%, 62%) |
| HSV | hsv(290, 41%, 78%) |
| CMYK | cmyk(7%, 41%, 0%, 21.6%) |
| CIE-LAB | lab(59.50, 40.17, -31.96) |
| CIE-LCH | lch(59.50, 51.33, 321.50°) |
| OKLab | oklab(66.71% 0.1069 -0.0878) |
| OKLCH | oklch(66.71% 0.138 320.6) |
| XYZ | xyz(37.1522, 27.5674, 57.9964) |
| Luminance | 0.2757 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.34
Wisteria
#A87DC2
ΔE00 4.40
Soft Purple
#A66FB5
ΔE00 4.82
Orchid
#DA70D6
ΔE00 5.78
Lavender Pink
#DD85D7
ΔE00 7.43
Pale Purple
#B790D4
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA76C8 #84C876
analogous
#9176C8 #BA76C8 #C876AD
triadic
#BA76C8 #C8BA76 #76C8BA
tetradic
#BA76C8 #C89176 #84C876 #76ADC8
square
#BA76C8 #C89176 #84C876 #76ADC8
split-complementary
#BA76C8 #ADC876 #76C891
monochromatic
#7D388C #A44AB6 #BA76C8 #D0A2DA #E6CDEB
Accessibility & contrast
On white
3.22
#BA76C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.51
#BA76C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA76C8
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA76C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA76C8 | 1.00 | 3.22 | 6.51 | 6.51 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B8ACB
Deuteranopia (green-blind)
#7D92C6
Tritanopia (blue-blind)
#BB8096
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #ba76c8; /* rgb */ color: rgb(186, 118, 200); /* oklch */ color: oklch(66.7% 0.138 320.6);
Tailwind
colors: {
custom: {
50: '#d09fd9',
500: '#ba76c8',
950: '#000000',
},
}SCSS
$custom: #ba76c8; $custom-light: #d09fd9; $custom-dark: #000000;
JSON
{
"hex": "#ba76c8",
"rgb": {
"r": 186,
"g": 118,
"b": 200
},
"hsl": {
"h": 289.756,
"s": 42.708,
"l": 62.353
},
"oklch": {
"l": 0.66713,
"c": 0.13833,
"h": 320.6
},
"luminance": 0.27566
}Semantic roles & 50–950 ramp
primary
#BA76C8
secondary
#C3DCBE
accent
#B63047
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140F14
muted
#827E83