#BA76D2#BA76D2
#BA76D2 is a light, vivid purple. Relative luminance 0.280; OKLCH L 67.2% C 0.149 H 316.8°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #BA76D2 |
|---|---|
| RGB | rgb(186, 118, 210) |
| HSL | hsl(284, 51%, 64%) |
| HSV | hsv(284, 44%, 82%) |
| CMYK | cmyk(11.4%, 43.8%, 0%, 17.6%) |
| CIE-LAB | lab(59.93, 42.20, -36.92) |
| CIE-LCH | lch(59.93, 56.07, 318.82°) |
| OKLab | oklab(67.18% 0.1088 -0.102) |
| OKLCH | oklch(67.18% 0.149 316.8) |
| XYZ | xyz(38.3593, 28.0502, 64.3538) |
| Luminance | 0.2805 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 4.82
Wisteria
#A87DC2
ΔE00 4.87
Soft Purple
#A66FB5
ΔE00 5.91
Orchid
#DA70D6
ΔE00 5.95
Light Purple
#BF77F6
ΔE00 5.95
Light Urple
#B36FF6
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA76D2 #8ED276
analogous
#8C76D2 #BA76D2 #D276BC
triadic
#BA76D2 #D2BA76 #76D2BA
tetradic
#BA76D2 #D28C76 #8ED276 #76BCD2
square
#BA76D2 #D28C76 #8ED276 #76BCD2
split-complementary
#BA76D2 #BCD276 #76D28C
monochromatic
#80339B #A348C3 #BA76D2 #D1A4E1 #E8D2F0
Accessibility & contrast
On white
3.18
#BA76D2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.61
#BA76D2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA76D2
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA76D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA76D2 | 1.00 | 3.18 | 6.61 | 6.61 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#668CD5
Deuteranopia (green-blind)
#7893CF
Tritanopia (blue-blind)
#B9839A
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #ba76d2; /* rgb */ color: rgb(186, 118, 210); /* oklch */ color: oklch(67.2% 0.149 316.8);
Tailwind
colors: {
custom: {
50: '#d09fe0',
500: '#ba76d2',
950: '#000000',
},
}SCSS
$custom: #ba76d2; $custom-light: #d09fe0; $custom-dark: #000000;
JSON
{
"hex": "#ba76d2",
"rgb": {
"r": 186,
"g": 118,
"b": 210
},
"hsl": {
"h": 284.348,
"s": 50.549,
"l": 64.314
},
"oklch": {
"l": 0.67185,
"c": 0.14916,
"h": 316.8
},
"luminance": 0.28049
}Semantic roles & 50–950 ramp
primary
#BA76D2
secondary
#CAE2C2
accent
#BE284F
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83