#BA74CA#BA74CA
#BA74CA is a light, vivid purple. Relative luminance 0.272; OKLCH L 66.5% C 0.144 H 320.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #BA74CA |
|---|---|
| RGB | rgb(186, 116, 202) |
| HSL | hsl(289, 45%, 62%) |
| HSV | hsv(289, 43%, 79%) |
| CMYK | cmyk(7.9%, 42.6%, 0%, 20.8%) |
| CIE-LAB | lab(59.15, 41.65, -33.62) |
| CIE-LCH | lch(59.15, 53.52, 321.09°) |
| OKLab | oklab(66.49% 0.1102 -0.0926) |
| OKLCH | oklch(66.49% 0.144 320) |
| XYZ | xyz(37.1544, 27.1954, 59.1577) |
| Luminance | 0.2719 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.70
Wisteria
#A87DC2
ΔE00 4.72
Soft Purple
#A66FB5
ΔE00 4.88
Orchid
#DA70D6
ΔE00 5.70
Light Purple
#BF77F6
ΔE00 7.45
Deep Lilac
#966EBD
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA74CA #84CA74
analogous
#8F74CA #BA74CA #CA74AF
triadic
#BA74CA #CABA74 #74CABA
tetradic
#BA74CA #CA8F74 #84CA74 #74AFCA
square
#BA74CA #CA8F74 #84CA74 #74AFCA
split-complementary
#BA74CA #AFCA74 #74CA8F
monochromatic
#7D368E #A448B9 #BA74CA #D0A0DB #E6CDEC
Accessibility & contrast
On white
3.26
#BA74CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.44
#BA74CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA74CA
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA74CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA74CA | 1.00 | 3.26 | 6.44 | 6.44 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6889CD
Deuteranopia (green-blind)
#7A91C7
Tritanopia (blue-blind)
#BB7F95
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #ba74ca; /* rgb */ color: rgb(186, 116, 202); /* oklch */ color: oklch(66.5% 0.144 320.0);
Tailwind
colors: {
custom: {
50: '#d09eda',
500: '#ba74ca',
950: '#000000',
},
}SCSS
$custom: #ba74ca; $custom-light: #d09eda; $custom-dark: #000000;
JSON
{
"hex": "#ba74ca",
"rgb": {
"r": 186,
"g": 116,
"b": 202
},
"hsl": {
"h": 288.837,
"s": 44.792,
"l": 62.353
},
"oklch": {
"l": 0.66486,
"c": 0.14393,
"h": 320
},
"luminance": 0.27194
}Semantic roles & 50–950 ramp
primary
#BA74CA
secondary
#C3DDBD
accent
#B82E47
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140E15
muted
#827E83