#BA3FE1#BA3FE1
#BA3FE1 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.1% C 0.243 H 316.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3FE1 |
|---|---|
| RGB | rgb(186, 63, 225) |
| HSL | hsl(286, 73%, 56%) |
| HSV | hsv(286, 72%, 88%) |
| CMYK | cmyk(17.3%, 72%, 0%, 11.8%) |
| CIE-LAB | lab(51.19, 70.87, -59.28) |
| CIE-LCH | lch(51.19, 92.39, 320.09°) |
| OKLab | oklab(61.05% 0.1767 -0.1668) |
| OKLCH | oklch(61.05% 0.243 316.7) |
| XYZ | xyz(35.6158, 19.4318, 73.0942) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Hot Purple
#CB00F5
ΔE00 3.91
Mediumorchid
#BA55D3
ΔE00 4.32
Lightish Purple
#A552E6
ΔE00 4.39
Neon Purple
#BC13FE
ΔE00 4.70
Purple Pink
#D725DE
ΔE00 4.82
Bright Purple
#BE03FD
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3FE1 #66E13F
analogous
#693FE1 #BA3FE1 #E13FB7
triadic
#BA3FE1 #E1BA3F #3FE1BA
tetradic
#BA3FE1 #E1693F #66E13F #3FB7E1
square
#BA3FE1 #E1693F #66E13F #3FB7E1
split-complementary
#BA3FE1 #B7E13F #3FE169
monochromatic
#72168F #9C1FC4 #BA3FE1 #CD74E9 #E0A9F2
Accessibility & contrast
On white
4.30
#BA3FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#BA3FE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA3FE1
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3FE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA3FE1 | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#407DDD
Tritanopia (blue-blind)
#B8618D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #ba3fe1; /* rgb */ color: rgb(186, 63, 225); /* oklch */ color: oklch(61.1% 0.243 316.7);
Tailwind
colors: {
custom: {
50: '#d37feb',
500: '#ba3fe1',
950: '#000000',
},
}SCSS
$custom: #ba3fe1; $custom-light: #d37feb; $custom-dark: #000000;
JSON
{
"hex": "#ba3fe1",
"rgb": {
"r": 186,
"g": 63,
"b": 225
},
"hsl": {
"h": 285.556,
"s": 72.973,
"l": 56.471
},
"oklch": {
"l": 0.61054,
"c": 0.24299,
"h": 316.7
},
"luminance": 0.1943
}Semantic roles & 50–950 ramp
primary
#BA3FE1
secondary
#ADDF9D
accent
#F03864
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84