#BA79CD#BA79CD
#BA79CD is a light, vivid purple. Relative luminance 0.285; OKLCH L 67.4% C 0.139 H 318.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #BA79CD |
|---|---|
| RGB | rgb(186, 121, 205) |
| HSL | hsl(286, 46%, 64%) |
| HSV | hsv(286, 41%, 80%) |
| CMYK | cmyk(9.3%, 41%, 0%, 19.6%) |
| CIE-LAB | lab(60.36, 39.55, -33.44) |
| CIE-LCH | lch(60.36, 51.79, 319.78°) |
| OKLab | oklab(67.43% 0.1035 -0.0921) |
| OKLCH | oklch(67.43% 0.139 318.3) |
| XYZ | xyz(38.1050, 28.5228, 61.2440) |
| Luminance | 0.2852 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 4.02
Wisteria
#A87DC2
ΔE00 4.14
Soft Purple
#A66FB5
ΔE00 5.52
Orchid
#DA70D6
ΔE00 5.94
Pale Purple
#B790D4
ΔE00 6.58
Light Purple
#BF77F6
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA79CD #8CCD79
analogous
#9079CD #BA79CD #CD79B6
triadic
#BA79CD #CDBA79 #79CDBA
tetradic
#BA79CD #CD9079 #8CCD79 #79B6CD
square
#BA79CD #CD9079 #8CCD79 #79B6CD
split-complementary
#BA79CD #B6CD79 #79CD90
monochromatic
#7F3794 #A34CBC #BA79CD #D1A6DE #E8D2EE
Accessibility & contrast
On white
3.13
#BA79CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.70
#BA79CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA79CD
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA79CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA79CD | 1.00 | 3.13 | 6.70 | 6.70 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C8DD0
Deuteranopia (green-blind)
#7D94CA
Tritanopia (blue-blind)
#BA8499
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #ba79cd; /* rgb */ color: rgb(186, 121, 205); /* oklch */ color: oklch(67.4% 0.139 318.3);
Tailwind
colors: {
custom: {
50: '#d0a1dc',
500: '#ba79cd',
950: '#000000',
},
}SCSS
$custom: #ba79cd; $custom-light: #d0a1dc; $custom-dark: #000000;
JSON
{
"hex": "#ba79cd",
"rgb": {
"r": 186,
"g": 121,
"b": 205
},
"hsl": {
"h": 286.429,
"s": 45.652,
"l": 63.922
},
"oklch": {
"l": 0.6743,
"c": 0.13854,
"h": 318.3
},
"luminance": 0.28522
}Semantic roles & 50–950 ramp
primary
#BA79CD
secondary
#C9E0C2
accent
#B92D4C
background
#FCFAFD
surface
#F9F3FB
border
#D2CDD4
text
#140F15
muted
#827F83