#BA76CC#BA76CC
#BA76CC is a light, vivid purple. Relative luminance 0.278; OKLCH L 66.9% C 0.143 H 319.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #BA76CC |
|---|---|
| RGB | rgb(186, 118, 204) |
| HSL | hsl(287, 46%, 63%) |
| HSV | hsv(287, 42%, 80%) |
| CMYK | cmyk(8.8%, 42.2%, 0%, 20%) |
| CIE-LAB | lab(59.67, 40.97, -33.95) |
| CIE-LCH | lch(59.67, 53.21, 320.35°) |
| OKLab | oklab(66.9% 0.1077 -0.0935) |
| OKLCH | oklch(66.9% 0.143 319) |
| XYZ | xyz(37.6258, 27.7568, 60.4906) |
| Luminance | 0.2776 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.89
Wisteria
#A87DC2
ΔE00 4.49
Soft Purple
#A66FB5
ΔE00 5.19
Orchid
#DA70D6
ΔE00 5.76
Light Purple
#BF77F6
ΔE00 7.11
Pale Purple
#B790D4
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA76CC #88CC76
analogous
#8F76CC #BA76CC #CC76B3
triadic
#BA76CC #CCBA76 #76CCBA
tetradic
#BA76CC #CC8F76 #88CC76 #76B3CC
square
#BA76CC #CC8F76 #88CC76 #76B3CC
split-complementary
#BA76CC #B3CC76 #76CC8F
monochromatic
#7E3691 #A449BB #BA76CC #D0A3DD #E7CFED
Accessibility & contrast
On white
3.21
#BA76CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.55
#BA76CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA76CC
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA76CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA76CC | 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)
#698BCF
Deuteranopia (green-blind)
#7B92C9
Tritanopia (blue-blind)
#BB8197
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #ba76cc; /* rgb */ color: rgb(186, 118, 204); /* oklch */ color: oklch(66.9% 0.143 319.0);
Tailwind
colors: {
custom: {
50: '#d09fdc',
500: '#ba76cc',
950: '#000000',
},
}SCSS
$custom: #ba76cc; $custom-light: #d09fdc; $custom-dark: #000000;
JSON
{
"hex": "#ba76cc",
"rgb": {
"r": 186,
"g": 118,
"b": 204
},
"hsl": {
"h": 287.442,
"s": 45.745,
"l": 63.137
},
"oklch": {
"l": 0.66899,
"c": 0.14263,
"h": 319
},
"luminance": 0.27756
}Semantic roles & 50–950 ramp
primary
#BA76CC
secondary
#C6DEBF
accent
#B92D4A
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83