#BA4FE1#BA4FE1

#BA4FE1 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.7% C 0.224 H 315.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BA4FE1
RGBrgb(186, 79, 225)
HSLhsl(284, 71%, 60%)
HSVhsv(284, 65%, 88%)
CMYKcmyk(17.3%, 64.9%, 0%, 11.8%)
CIE-LABlab(53.46, 64.48, -55.64)
CIE-LCHlch(53.46, 85.17, 319.21°)
OKLaboklab(62.68% 0.1603 -0.1562)
OKLCHoklch(62.68% 0.224 315.7)
XYZxyz(36.6342, 21.4686, 73.4337)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FE1 #76E14F
analogous
#714FE1 #BA4FE1 #E14FBF
triadic
#BA4FE1 #E1BA4F #4FE1BA
tetradic
#BA4FE1 #E1714F #76E14F #4FBFE1
square
#BA4FE1 #E1714F #76E14F #4FBFE1
split-complementary
#BA4FE1 #BFE14F #4FE171
monochromatic
#791A9B #A123CF #BA4FE1 #CF83EA #E3B8F3

Accessibility & contrast

On white

3.97
#BA4FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#BA4FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FE1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FE1#FFFFFF#000000##000000
##BA4FE11.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0979E5
Deuteranopia (green-blind)
#4E83DE
Tritanopia (blue-blind)
#B76A91
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba4fe1;
/* rgb */ color: rgb(186, 79, 225);
/* oklch */ color: oklch(62.7% 0.224 315.7);
Tailwind
colors: {
  custom: {
    50: '#d287eb',
    500: '#ba4fe1',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fe1;
$custom-light: #d287eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fe1",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 283.973,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62678,
    "c": 0.22384,
    "h": 315.7
  },
  "luminance": 0.21467
}

Semantic roles & 50–950 ramp

primary
#BA4FE1
secondary
#B9E2AA
accent
#EE3A6A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4FE1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BA4FE1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva