#BA4FE0#BA4FE0

#BA4FE0 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.6% C 0.223 H 316.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BA4FE0
RGBrgb(186, 79, 224)
HSLhsl(284, 70%, 59%)
HSVhsv(284, 65%, 88%)
CMYKcmyk(17%, 64.7%, 0%, 12.2%)
CIE-LABlab(53.40, 64.29, -55.16)
CIE-LCHlch(53.40, 84.71, 319.37°)
OKLaboklab(62.62% 0.1603 -0.1548)
OKLCHoklch(62.62% 0.223 316)
XYZxyz(36.4982, 21.4142, 72.7173)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FE0 #75E04F
analogous
#724FE0 #BA4FE0 #E04FBD
triadic
#BA4FE0 #E0BA4F #4FE0BA
tetradic
#BA4FE0 #E0724F #75E04F #4FBDE0
square
#BA4FE0 #E0724F #75E04F #4FBDE0
split-complementary
#BA4FE0 #BDE04F #4FE072
monochromatic
#781B9A #A124CE #BA4FE0 #CE83E9 #E3B7F2

Accessibility & contrast

On white

3.98
#BA4FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#BA4FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FE0
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FE0#FFFFFF#000000##000000
##BA4FE01.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E79E4
Deuteranopia (green-blind)
#4F83DD
Tritanopia (blue-blind)
#B86A91
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba4fe0;
/* rgb */ color: rgb(186, 79, 224);
/* oklch */ color: oklch(62.6% 0.223 316.0);
Tailwind
colors: {
  custom: {
    50: '#d287ea',
    500: '#ba4fe0',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fe0;
$custom-light: #d287ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fe0",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 284.276,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62617,
    "c": 0.2229,
    "h": 316
  },
  "luminance": 0.21413
}

Semantic roles & 50–950 ramp

primary
#BA4FE0
secondary
#B8E2A9
accent
#ED3B6A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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