#BA91CD#BA91CD
#BA91CD is a light, moderate purple. Relative luminance 0.351; OKLCH L 71.6% C 0.096 H 314.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #BA91CD |
|---|---|
| RGB | rgb(186, 145, 205) |
| HSL | hsl(281, 38%, 69%) |
| HSV | hsv(281, 29%, 80%) |
| CMYK | cmyk(9.3%, 29.3%, 0%, 19.6%) |
| CIE-LAB | lab(65.83, 26.30, -24.99) |
| CIE-LCH | lch(65.83, 36.28, 316.46°) |
| OKLab | oklab(71.57% 0.0679 -0.0682) |
| OKLCH | oklch(71.57% 0.096 314.8) |
| XYZ | xyz(41.3928, 35.0984, 62.3399) |
| Luminance | 0.3510 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.17
Lavender
#B39DDB
ΔE00 5.34
Wisteria
#A87DC2
ΔE00 6.32
Lavender (survey)
#C79FEF
ΔE00 6.41
Lilac
#C8A2C8
ΔE00 7.11
Plum
#DDA0DD
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA91CD #A4CD91
analogous
#9C91CD #BA91CD #CD91C2
triadic
#BA91CD #CDBA91 #91CDBA
tetradic
#BA91CD #CD9C91 #A4CD91 #91C2CD
square
#BA91CD #CD9C91 #A4CD91 #91C2CD
split-complementary
#BA91CD #C2CD91 #91CD9C
monochromatic
#81479C #A067BA #BA91CD #D4BBE0 #EFE5F3
Accessibility & contrast
On white
2.62
#BA91CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#BA91CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA91CD
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA91CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA91CD | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#889DCF
Deuteranopia (green-blind)
#91A1CB
Tritanopia (blue-blind)
#B998A6
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #ba91cd; /* rgb */ color: rgb(186, 145, 205); /* oklch */ color: oklch(71.6% 0.096 314.8);
Tailwind
colors: {
custom: {
50: '#cfb1dc',
500: '#ba91cd',
950: '#000000',
},
}SCSS
$custom: #ba91cd; $custom-light: #cfb1dc; $custom-dark: #000000;
JSON
{
"hex": "#ba91cd",
"rgb": {
"r": 186,
"g": 145,
"b": 205
},
"hsl": {
"h": 281,
"s": 37.5,
"l": 68.627
},
"oklch": {
"l": 0.71573,
"c": 0.09622,
"h": 314.8
},
"luminance": 0.35098
}Semantic roles & 50–950 ramp
primary
#BA91CD
secondary
#DAE6D4
accent
#B0355C
background
#FCFAFD
surface
#F9F5FB
border
#D2CFD4
text
#141015
muted
#827F83