#BA4BFC#BA4BFC
#BA4BFC is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 64.0% C 0.254 H 309.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4BFC |
|---|---|
| RGB | rgb(186, 75, 252) |
| HSL | hsl(278, 97%, 64%) |
| HSV | hsv(278, 70%, 99%) |
| CMYK | cmyk(26.2%, 70.2%, 0%, 1.2%) |
| CIE-LAB | lab(54.55, 71.62, -68.99) |
| CIE-LCH | lch(54.55, 99.44, 316.07°) |
| OKLab | oklab(64% 0.1621 -0.1954) |
| OKLCH | oklch(64% 0.254 309.7) |
| XYZ | xyz(40.3330, 22.5003, 94.2949) |
| Luminance | 0.2250 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.74
Lightish Purple
#A552E6
ΔE00 4.15
Bright Lilac
#C95EFB
ΔE00 4.90
Bright Lavender
#C760FF
ΔE00 4.97
Neon Purple
#BC13FE
ΔE00 5.67
Hot Purple
#CB00F5
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4BFC #8DFC4B
analogous
#624BFC #BA4BFC #FC4BE6
triadic
#BA4BFC #FCBA4B #4BFCBA
tetradic
#BA4BFC #FC624B #8DFC4B #4BE6FC
square
#BA4BFC #FC624B #8DFC4B #4BE6FC
split-complementary
#BA4BFC #E6FC4B #4BFC62
monochromatic
#7F03C9 #A30FFB #BA4BFC #D187FD #E8C3FE
Accessibility & contrast
On white
3.82
#BA4BFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#BA4BFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA4BFC
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4BFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA4BFC | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#2684F8
Tritanopia (blue-blind)
#B1739F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #ba4bfc; /* rgb */ color: rgb(186, 75, 252); /* oklch */ color: oklch(64.0% 0.254 309.7);
Tailwind
colors: {
custom: {
50: '#d486fe',
500: '#ba4bfc',
950: '#000000',
},
}SCSS
$custom: #ba4bfc; $custom-light: #d486fe; $custom-dark: #000000;
JSON
{
"hex": "#ba4bfc",
"rgb": {
"r": 186,
"g": 75,
"b": 252
},
"hsl": {
"h": 277.627,
"s": 96.721,
"l": 64.118
},
"oklch": {
"l": 0.64,
"c": 0.25387,
"h": 309.7
},
"luminance": 0.225
}Semantic roles & 50–950 ramp
primary
#BA4BFC
secondary
#CAF0B3
accent
#E60056
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86