#BA60E8#BA60E8
#BA60E8 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.2% C 0.207 H 312.6°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #BA60E8 |
|---|---|
| RGB | rgb(186, 96, 232) |
| HSL | hsl(280, 75%, 64%) |
| HSV | hsv(280, 59%, 91%) |
| CMYK | cmyk(19.8%, 58.6%, 0%, 9%) |
| CIE-LAB | lab(56.72, 58.10, -54.37) |
| CIE-LCH | lch(56.72, 79.57, 316.90°) |
| OKLab | oklab(65.17% 0.1403 -0.1526) |
| OKLCH | oklch(65.17% 0.207 312.6) |
| XYZ | xyz(38.9955, 24.6320, 79.0285) |
| Luminance | 0.2463 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 3.22
Bright Lavender
#C760FF
ΔE00 3.53
Mediumorchid
#BA55D3
ΔE00 4.12
Light Urple
#B36FF6
ΔE00 4.25
Lighter Purple
#A55AF4
ΔE00 4.98
Heliotrope
#D94FF5
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA60E8 #8EE860
analogous
#7660E8 #BA60E8 #E860D2
triadic
#BA60E8 #E8BA60 #60E8BA
tetradic
#BA60E8 #E87660 #8EE860 #60D2E8
square
#BA60E8 #E87660 #8EE860 #60D2E8
split-complementary
#BA60E8 #D2E860 #60E876
monochromatic
#801AB4 #A32BE0 #BA60E8 #D195F0 #E8CBF7
Accessibility & contrast
On white
3.54
#BA60E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#BA60E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA60E8
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA60E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA60E8 | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3383EC
Deuteranopia (green-blind)
#588AE5
Tritanopia (blue-blind)
#B5789B
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #ba60e8; /* rgb */ color: rgb(186, 96, 232); /* oklch */ color: oklch(65.2% 0.207 312.6);
Tailwind
colors: {
custom: {
50: '#d291f0',
500: '#ba60e8',
950: '#000000',
},
}SCSS
$custom: #ba60e8; $custom-light: #d291f0; $custom-dark: #000000;
JSON
{
"hex": "#ba60e8",
"rgb": {
"r": 186,
"g": 96,
"b": 232
},
"hsl": {
"h": 279.706,
"s": 74.725,
"l": 64.314
},
"oklch": {
"l": 0.65167,
"c": 0.20731,
"h": 312.6
},
"luminance": 0.24631
}Semantic roles & 50–950 ramp
primary
#BA60E8
secondary
#CAE9BA
accent
#D70F52
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85