#BA7CD3#BA7CD3
#BA7CD3 is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.2% C 0.140 H 315.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #BA7CD3 |
|---|---|
| RGB | rgb(186, 124, 211) |
| HSL | hsl(283, 50%, 66%) |
| HSV | hsv(283, 41%, 83%) |
| CMYK | cmyk(11.8%, 41.2%, 0%, 17.3%) |
| CIE-LAB | lab(61.27, 39.16, -35.40) |
| CIE-LCH | lch(61.27, 52.78, 317.89°) |
| OKLab | oklab(68.2% 0.1003 -0.0977) |
| OKLCH | oklch(68.2% 0.14 315.8) |
| XYZ | xyz(39.2134, 29.5585, 65.2551) |
| Luminance | 0.2956 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Wisteria
#A87DC2
ΔE00 4.29
Orchid (survey)
#C875C4
ΔE00 5.03
Pale Purple
#B790D4
ΔE00 5.86
Light Purple
#BF77F6
ΔE00 6.14
Orchid
#DA70D6
ΔE00 6.36
Soft Purple
#A66FB5
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA7CD3 #95D37C
analogous
#8E7CD3 #BA7CD3 #D37CC0
triadic
#BA7CD3 #D3BA7C #7CD3BA
tetradic
#BA7CD3 #D38E7C #95D37C #7CC0D3
square
#BA7CD3 #D38E7C #95D37C #7CC0D3
split-complementary
#BA7CD3 #C0D37C #7CD38E
monochromatic
#81359F #A24EC4 #BA7CD3 #D2AAE2 #EAD8F2
Accessibility & contrast
On white
3.04
#BA7CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.91
#BA7CD3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA7CD3
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA7CD3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA7CD3 | 1.00 | 3.04 | 6.91 | 6.91 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D90D6
Deuteranopia (green-blind)
#7D96D0
Tritanopia (blue-blind)
#B9889E
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #ba7cd3; /* rgb */ color: rgb(186, 124, 211); /* oklch */ color: oklch(68.2% 0.140 315.8);
Tailwind
colors: {
custom: {
50: '#d0a3e1',
500: '#ba7cd3',
950: '#000000',
},
}SCSS
$custom: #ba7cd3; $custom-light: #d0a3e1; $custom-dark: #000000;
JSON
{
"hex": "#ba7cd3",
"rgb": {
"r": 186,
"g": 124,
"b": 211
},
"hsl": {
"h": 282.759,
"s": 49.714,
"l": 65.686
},
"oklch": {
"l": 0.68202,
"c": 0.14003,
"h": 315.8
},
"luminance": 0.29558
}Semantic roles & 50–950 ramp
primary
#BA7CD3
secondary
#CFE4C7
accent
#BD2853
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83