#BA79CE#BA79CE
#BA79CE is a light, vivid purple. Relative luminance 0.286; OKLCH L 67.5% C 0.140 H 318.0°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #BA79CE |
|---|---|
| RGB | rgb(186, 121, 206) |
| HSL | hsl(286, 46%, 64%) |
| HSV | hsv(286, 41%, 81%) |
| CMYK | cmyk(9.7%, 41.3%, 0%, 19.2%) |
| CIE-LAB | lab(60.40, 39.76, -33.94) |
| CIE-LCH | lch(60.40, 52.27, 319.51°) |
| OKLab | oklab(67.48% 0.1037 -0.0935) |
| OKLCH | oklch(67.48% 0.14 318) |
| XYZ | xyz(38.2261, 28.5712, 61.8817) |
| Luminance | 0.2857 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 4.17
Wisteria
#A87DC2
ΔE00 4.20
Soft Purple
#A66FB5
ΔE00 5.63
Orchid
#DA70D6
ΔE00 5.96
Pale Purple
#B790D4
ΔE00 6.58
Light Purple
#BF77F6
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA79CE #8DCE79
analogous
#9079CE #BA79CE #CE79B8
triadic
#BA79CE #CEBA79 #79CEBA
tetradic
#BA79CE #CE9079 #8DCE79 #79B8CE
square
#BA79CE #CE9079 #8DCE79 #79B8CE
split-complementary
#BA79CE #B8CE79 #79CE90
monochromatic
#7F3796 #A34CBE #BA79CE #D1A6DE #E8D3EF
Accessibility & contrast
On white
3.13
#BA79CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#BA79CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA79CE
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA79CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA79CE | 1.00 | 3.13 | 6.71 | 6.71 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C8DD1
Deuteranopia (green-blind)
#7D94CB
Tritanopia (blue-blind)
#BA849A
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #ba79ce; /* rgb */ color: rgb(186, 121, 206); /* oklch */ color: oklch(67.5% 0.140 318.0);
Tailwind
colors: {
custom: {
50: '#d0a1dd',
500: '#ba79ce',
950: '#000000',
},
}SCSS
$custom: #ba79ce; $custom-light: #d0a1dd; $custom-dark: #000000;
JSON
{
"hex": "#ba79ce",
"rgb": {
"r": 186,
"g": 121,
"b": 206
},
"hsl": {
"h": 285.882,
"s": 46.448,
"l": 64.118
},
"oklch": {
"l": 0.67477,
"c": 0.13963,
"h": 318
},
"luminance": 0.2857
}Semantic roles & 50–950 ramp
primary
#BA79CE
secondary
#CAE0C3
accent
#BA2C4D
background
#FCFAFD
surface
#F9F3FB
border
#D2CDD4
text
#140F15
muted
#827F83