#BA78DC#BA78DC
#BA78DC is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.0% C 0.157 H 313.3°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #BA78DC |
|---|---|
| RGB | rgb(186, 120, 220) |
| HSL | hsl(280, 59%, 67%) |
| HSV | hsv(280, 45%, 86%) |
| CMYK | cmyk(15.5%, 45.5%, 0%, 13.7%) |
| CIE-LAB | lab(60.82, 43.22, -41.15) |
| CIE-LCH | lch(60.82, 59.68, 316.40°) |
| OKLab | oklab(68% 0.1076 -0.1143) |
| OKLCH | oklch(68% 0.157 313.3) |
| XYZ | xyz(39.8823, 29.0402, 71.2007) |
| Luminance | 0.2904 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.17
Light Urple
#B36FF6
ΔE00 5.56
Easter Purple
#C071FE
ΔE00 5.56
Wisteria
#A87DC2
ΔE00 5.70
Orchid (survey)
#C875C4
ΔE00 6.41
Orchid
#DA70D6
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA78DC #9ADC78
analogous
#8878DC #BA78DC #DC78CC
triadic
#BA78DC #DCBA78 #78DCBA
tetradic
#BA78DC #DC8878 #9ADC78 #78CCDC
square
#BA78DC #DC8878 #9ADC78 #78CCDC
split-complementary
#BA78DC #CCDC78 #78DC88
monochromatic
#812DAD #A147CF #BA78DC #D3A9E9 #ECD9F5
Accessibility & contrast
On white
3.08
#BA78DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.81
#BA78DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA78DC
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA78DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA78DC | 1.00 | 3.08 | 6.81 | 6.81 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#638FE0
Deuteranopia (green-blind)
#7594D9
Tritanopia (blue-blind)
#B787A0
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #ba78dc; /* rgb */ color: rgb(186, 120, 220); /* oklch */ color: oklch(68.0% 0.157 313.3);
Tailwind
colors: {
custom: {
50: '#d0a0e7',
500: '#ba78dc',
950: '#000000',
},
}SCSS
$custom: #ba78dc; $custom-light: #d0a0e7; $custom-dark: #000000;
JSON
{
"hex": "#ba78dc",
"rgb": {
"r": 186,
"g": 120,
"b": 220
},
"hsl": {
"h": 279.6,
"s": 58.824,
"l": 66.667
},
"oklch": {
"l": 0.67995,
"c": 0.15695,
"h": 313.3
},
"luminance": 0.29039
}Semantic roles & 50–950 ramp
primary
#BA78DC
secondary
#D3E8C8
accent
#C61F58
background
#FDFAFE
surface
#FAF3FC
border
#D3CDD5
text
#140F16
muted
#837F84