#BA4AE2#BA4AE2

#BA4AE2 is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.2% C 0.231 H 315.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BA4AE2
RGBrgb(186, 74, 226)
HSLhsl(284, 72%, 59%)
HSVhsv(284, 67%, 89%)
CMYKcmyk(17.7%, 67.3%, 0%, 11.4%)
CIE-LABlab(52.76, 66.79, -57.32)
CIE-LCHlch(52.76, 88.01, 319.37°)
OKLaboklab(62.2% 0.1657 -0.1611)
OKLCHoklch(62.2% 0.231 315.8)
XYZxyz(36.4238, 20.8290, 74.0385)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4AE2 #72E24A
analogous
#6E4AE2 #BA4AE2 #E24ABE
triadic
#BA4AE2 #E2BA4A #4AE2BA
tetradic
#BA4AE2 #E26E4A #72E24A #4ABEE2
square
#BA4AE2 #E26E4A #72E24A #4ABEE2
split-complementary
#BA4AE2 #BEE24A #4AE26E
monochromatic
#771999 #A021CE #BA4AE2 #CE7FEA #E2B3F3

Accessibility & contrast

On white

4.07
#BA4AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#BA4AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4AE2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4AE2#FFFFFF#000000##000000
##BA4AE21.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#4981DE
Tritanopia (blue-blind)
#B76890
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba4ae2;
/* rgb */ color: rgb(186, 74, 226);
/* oklch */ color: oklch(62.2% 0.231 315.8);
Tailwind
colors: {
  custom: {
    50: '#d385ec',
    500: '#ba4ae2',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ae2;
$custom-light: #d385ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ae2",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 226
  },
  "hsl": {
    "h": 284.211,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62196,
    "c": 0.23109,
    "h": 315.8
  },
  "luminance": 0.20828
}

Semantic roles & 50–950 ramp

primary
#BA4AE2
secondary
#B6E2A6
accent
#EF3969
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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