#BA7CD2#BA7CD2
#BA7CD2 is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.2% C 0.139 H 316.1°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #BA7CD2 |
|---|---|
| RGB | rgb(186, 124, 210) |
| HSL | hsl(283, 49%, 65%) |
| HSV | hsv(283, 41%, 82%) |
| CMYK | cmyk(11.4%, 41%, 0%, 17.6%) |
| CIE-LAB | lab(61.23, 38.95, -34.90) |
| CIE-LCH | lch(61.23, 52.30, 318.14°) |
| OKLab | oklab(68.16% 0.1001 -0.0963) |
| OKLCH | oklch(68.16% 0.139 316.1) |
| XYZ | xyz(39.0885, 29.5086, 64.5969) |
| Luminance | 0.2951 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Wisteria
#A87DC2
ΔE00 4.20
Orchid (survey)
#C875C4
ΔE00 4.88
Pale Purple
#B790D4
ΔE00 5.83
Orchid
#DA70D6
ΔE00 6.32
Light Purple
#BF77F6
ΔE00 6.34
Soft Purple
#A66FB5
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA7CD2 #94D27C
analogous
#8F7CD2 #BA7CD2 #D27CBF
triadic
#BA7CD2 #D2BA7C #7CD2BA
tetradic
#BA7CD2 #D28F7C #94D27C #7CBFD2
square
#BA7CD2 #D28F7C #94D27C #7CBFD2
split-complementary
#BA7CD2 #BFD27C #7CD28F
monochromatic
#81369D #A24EC2 #BA7CD2 #D2AAE2 #EAD7F1
Accessibility & contrast
On white
3.04
#BA7CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#BA7CD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA7CD2
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA7CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA7CD2 | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E90D5
Deuteranopia (green-blind)
#7E96CF
Tritanopia (blue-blind)
#B9879D
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #ba7cd2; /* rgb */ color: rgb(186, 124, 210); /* oklch */ color: oklch(68.2% 0.139 316.1);
Tailwind
colors: {
custom: {
50: '#d0a3e0',
500: '#ba7cd2',
950: '#000000',
},
}SCSS
$custom: #ba7cd2; $custom-light: #d0a3e0; $custom-dark: #000000;
JSON
{
"hex": "#ba7cd2",
"rgb": {
"r": 186,
"g": 124,
"b": 210
},
"hsl": {
"h": 283.256,
"s": 48.864,
"l": 65.49
},
"oklch": {
"l": 0.68155,
"c": 0.13892,
"h": 316.1
},
"luminance": 0.29508
}Semantic roles & 50–950 ramp
primary
#BA7CD2
secondary
#CFE3C6
accent
#BC2952
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83