#BA76FC#BA76FC
#BA76FC is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.4% C 0.197 H 305.3°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #BA76FC |
|---|---|
| RGB | rgb(186, 118, 252) |
| HSL | hsl(270, 96%, 73%) |
| HSV | hsv(270, 53%, 99%) |
| CMYK | cmyk(26.2%, 53.2%, 0%, 1.2%) |
| CIE-LAB | lab(62.02, 51.36, -57.01) |
| CIE-LCH | lch(62.02, 76.73, 312.02°) |
| OKLab | oklab(69.41% 0.1135 -0.1604) |
| OKLCH | oklch(69.41% 0.197 305.3) |
| XYZ | xyz(44.2951, 30.4245, 95.6156) |
| Luminance | 0.3042 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 1.45
Light Purple
#BF77F6
ΔE00 1.55
Light Urple
#B36FF6
ΔE00 2.17
Bright Lavender
#C760FF
ΔE00 4.67
Bright Lilac
#C95EFB
ΔE00 5.19
Liliac
#C48EFD
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA76FC #B8FC76
analogous
#7776FC #BA76FC #FC76FB
triadic
#BA76FC #FCBA76 #76FCBA
tetradic
#BA76FC #FC7776 #B8FC76 #76FBFC
square
#BA76FC #FC7776 #B8FC76 #76FBFC
split-complementary
#BA76FC #FBFC76 #76FC77
monochromatic
#7E05F2 #9C3AFB #BA76FC #D8B2FD #F0E1FE
Accessibility & contrast
On white
2.96
#BA76FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.08
#BA76FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA76FC
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA76FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA76FC | 1.00 | 2.96 | 7.08 | 7.08 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#5F96F9
Tritanopia (blue-blind)
#AF8FAE
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #ba76fc; /* rgb */ color: rgb(186, 118, 252); /* oklch */ color: oklch(69.4% 0.197 305.3);
Tailwind
colors: {
custom: {
50: '#d2a0fe',
500: '#ba76fc',
950: '#000000',
},
}SCSS
$custom: #ba76fc; $custom-light: #d2a0fe; $custom-dark: #000000;
JSON
{
"hex": "#ba76fc",
"rgb": {
"r": 186,
"g": 118,
"b": 252
},
"hsl": {
"h": 270.448,
"s": 95.714,
"l": 72.549
},
"oklch": {
"l": 0.69412,
"c": 0.19652,
"h": 305.3
},
"luminance": 0.30424
}Semantic roles & 50–950 ramp
primary
#BA76FC
secondary
#E5F7D4
accent
#E60071
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86