#BA3FE2#BA3FE2
#BA3FE2 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.1% C 0.244 H 316.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3FE2 |
|---|---|
| RGB | rgb(186, 63, 226) |
| HSL | hsl(285, 74%, 57%) |
| HSV | hsv(285, 72%, 89%) |
| CMYK | cmyk(17.7%, 72.1%, 0%, 11.4%) |
| CIE-LAB | lab(51.25, 71.06, -59.74) |
| CIE-LCH | lch(51.25, 92.83, 319.94°) |
| OKLab | oklab(61.12% 0.1766 -0.1681) |
| OKLCH | oklch(61.12% 0.244 316.4) |
| XYZ | xyz(35.7526, 19.4865, 73.8148) |
| Luminance | 0.1948 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Hot Purple
#CB00F5
ΔE00 3.86
Lightish Purple
#A552E6
ΔE00 4.32
Mediumorchid
#BA55D3
ΔE00 4.38
Neon Purple
#BC13FE
ΔE00 4.61
Bright Purple
#BE03FD
ΔE00 4.74
Purple Pink
#D725DE
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3FE2 #67E23F
analogous
#693FE2 #BA3FE2 #E23FB9
triadic
#BA3FE2 #E2BA3F #3FE2BA
tetradic
#BA3FE2 #E2693F #67E23F #3FB9E2
square
#BA3FE2 #E2693F #67E23F #3FB9E2
split-complementary
#BA3FE2 #B9E23F #3FE269
monochromatic
#731691 #9D1EC6 #BA3FE2 #CD74EA #E0A9F2
Accessibility & contrast
On white
4.29
#BA3FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#BA3FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA3FE2
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA3FE2 | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#3F7EDE
Tritanopia (blue-blind)
#B8618D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #ba3fe2; /* rgb */ color: rgb(186, 63, 226); /* oklch */ color: oklch(61.1% 0.244 316.4);
Tailwind
colors: {
custom: {
50: '#d37fec',
500: '#ba3fe2',
950: '#000000',
},
}SCSS
$custom: #ba3fe2; $custom-light: #d37fec; $custom-dark: #000000;
JSON
{
"hex": "#ba3fe2",
"rgb": {
"r": 186,
"g": 63,
"b": 226
},
"hsl": {
"h": 285.276,
"s": 73.756,
"l": 56.667
},
"oklch": {
"l": 0.61118,
"c": 0.24384,
"h": 316.4
},
"luminance": 0.19485
}Semantic roles & 50–950 ramp
primary
#BA3FE2
secondary
#ADE09D
accent
#F03765
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84