#BA79F5#BA79F5
#BA79F5 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.5% C 0.184 H 306.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #BA79F5 |
|---|---|
| RGB | rgb(186, 121, 245) |
| HSL | hsl(271, 86%, 72%) |
| HSV | hsv(271, 51%, 96%) |
| CMYK | cmyk(24.1%, 50.6%, 0%, 3.9%) |
| CIE-LAB | lab(62.26, 48.19, -52.77) |
| CIE-LCH | lch(62.26, 71.46, 312.40°) |
| OKLab | oklab(69.47% 0.1092 -0.148) |
| OKLCH | oklch(69.47% 0.184 306.4) |
| XYZ | xyz(43.5651, 30.7068, 90.0004) |
| Luminance | 0.3071 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.00
Easter Purple
#C071FE
ΔE00 2.25
Light Urple
#B36FF6
ΔE00 2.79
Liliac
#C48EFD
ΔE00 5.30
Bright Lavender
#C760FF
ΔE00 5.36
Bright Lilac
#C95EFB
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA79F5 #B4F579
analogous
#7C79F5 #BA79F5 #F579F2
triadic
#BA79F5 #F5BA79 #79F5BA
tetradic
#BA79F5 #F57C79 #B4F579 #79F2F5
square
#BA79F5 #F57C79 #B4F579 #79F2F5
split-complementary
#BA79F5 #F2F579 #79F57C
monochromatic
#7F11E3 #9D40F1 #BA79F5 #D7B2F9 #F0E3FD
Accessibility & contrast
On white
2.94
#BA79F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.14
#BA79F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA79F5
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA79F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA79F5 | 1.00 | 2.94 | 7.14 | 7.14 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5494F9
Deuteranopia (green-blind)
#6797F2
Tritanopia (blue-blind)
#B18FAC
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #ba79f5; /* rgb */ color: rgb(186, 121, 245); /* oklch */ color: oklch(69.5% 0.184 306.4);
Tailwind
colors: {
custom: {
50: '#d1a1f9',
500: '#ba79f5',
950: '#000000',
},
}SCSS
$custom: #ba79f5; $custom-light: #d1a1f9; $custom-dark: #000000;
JSON
{
"hex": "#ba79f5",
"rgb": {
"r": 186,
"g": 121,
"b": 245
},
"hsl": {
"h": 271.452,
"s": 86.111,
"l": 71.765
},
"oklch": {
"l": 0.69469,
"c": 0.18394,
"h": 306.4
},
"luminance": 0.30706
}Semantic roles & 50–950 ramp
primary
#BA79F5
secondary
#E4F5D5
accent
#E3036D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85