#BA4ACE#BA4ACE

#BA4ACE is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.0% C 0.213 H 321.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BA4ACE
RGBrgb(186, 74, 206)
HSLhsl(291, 57%, 55%)
HSVhsv(291, 64%, 81%)
CMYKcmyk(9.7%, 64.1%, 0%, 19.2%)
CIE-LABlab(51.60, 62.97, -47.79)
CIE-LCHlch(51.60, 79.05, 322.81°)
OKLaboklab(60.99% 0.1662 -0.1333)
OKLCHoklch(60.99% 0.213 321.3)
XYZxyz(33.8378, 19.7946, 60.4189)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4ACE #5ECE4A
analogous
#784ACE #BA4ACE #CE4AA0
triadic
#BA4ACE #CEBA4A #4ACEBA
tetradic
#BA4ACE #CE784A #5ECE4A #4AA0CE
square
#BA4ACE #CE784A #5ECE4A #4AA0CE
split-complementary
#BA4ACE #A0CE4A #4ACE78
monochromatic
#6E227C #992FAC #BA4ACE #CC7ADB #DFAAE8

Accessibility & contrast

On white

4.24
#BA4ACE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#BA4ACE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4ACE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4ACE#FFFFFF#000000##000000
##BA4ACE1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2773D2
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#BC6086
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4ace;
/* rgb */ color: rgb(186, 74, 206);
/* oklch */ color: oklch(61.0% 0.213 321.3);
Tailwind
colors: {
  custom: {
    50: '#d284dd',
    500: '#ba4ace',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ace;
$custom-light: #d284dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ace",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 206
  },
  "hsl": {
    "h": 290.909,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60991,
    "c": 0.21305,
    "h": 321.3
  },
  "luminance": 0.19793
}

Semantic roles & 50–950 ramp

primary
#BA4ACE
secondary
#A7D69E
accent
#E1475E
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA4ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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