#BA3FE0#BA3FE0
#BA3FE0 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.0% C 0.242 H 316.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3FE0 |
|---|---|
| RGB | rgb(186, 63, 224) |
| HSL | hsl(286, 72%, 56%) |
| HSV | hsv(286, 72%, 88%) |
| CMYK | cmyk(17%, 71.9%, 0%, 12.2%) |
| CIE-LAB | lab(51.13, 70.68, -58.81) |
| CIE-LCH | lch(51.13, 91.95, 320.23°) |
| OKLab | oklab(60.99% 0.1768 -0.1654) |
| OKLCH | oklch(60.99% 0.242 316.9) |
| XYZ | xyz(35.4797, 19.3774, 72.3779) |
| Luminance | 0.1938 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Hot Purple
#CB00F5
ΔE00 3.97
Mediumorchid
#BA55D3
ΔE00 4.27
Lightish Purple
#A552E6
ΔE00 4.47
Purple Pink
#D725DE
ΔE00 4.77
Neon Purple
#BC13FE
ΔE00 4.80
Bright Purple
#BE03FD
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3FE0 #65E03F
analogous
#6A3FE0 #BA3FE0 #E03FB5
triadic
#BA3FE0 #E0BA3F #3FE0BA
tetradic
#BA3FE0 #E06A3F #65E03F #3FB5E0
square
#BA3FE0 #E06A3F #65E03F #3FB5E0
split-complementary
#BA3FE0 #B5E03F #3FE06A
monochromatic
#72178E #9C1FC2 #BA3FE0 #CD74E9 #E0A8F1
Accessibility & contrast
On white
4.31
#BA3FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#BA3FE0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA3FE0
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3FE0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA3FE0 | 1.00 | 4.31 | 4.88 | 4.88 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#417DDC
Tritanopia (blue-blind)
#B8608C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #ba3fe0; /* rgb */ color: rgb(186, 63, 224); /* oklch */ color: oklch(61.0% 0.242 316.9);
Tailwind
colors: {
custom: {
50: '#d37fea',
500: '#ba3fe0',
950: '#000000',
},
}SCSS
$custom: #ba3fe0; $custom-light: #d37fea; $custom-dark: #000000;
JSON
{
"hex": "#ba3fe0",
"rgb": {
"r": 186,
"g": 63,
"b": 224
},
"hsl": {
"h": 285.839,
"s": 72.197,
"l": 56.275
},
"oklch": {
"l": 0.60989,
"c": 0.24212,
"h": 316.9
},
"luminance": 0.19376
}Semantic roles & 50–950 ramp
primary
#BA3FE0
secondary
#ACDF9C
accent
#EF3964
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84