#BA4ACF#BA4ACF

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

Color values

HEX#BA4ACF
RGBrgb(186, 74, 207)
HSLhsl(291, 58%, 55%)
HSVhsv(291, 64%, 81%)
CMYKcmyk(10.1%, 64.3%, 0%, 18.8%)
CIE-LABlab(51.66, 63.16, -48.27)
CIE-LCHlch(51.66, 79.50, 322.61°)
OKLaboklab(61.05% 0.1662 -0.1347)
OKLCHoklch(61.05% 0.214 321)
XYZxyz(33.9597, 19.8433, 61.0608)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4ACF #5FCF4A
analogous
#774ACF #BA4ACF #CF4AA2
triadic
#BA4ACF #CFBA4A #4ACFBA
tetradic
#BA4ACF #CF774A #5FCF4A #4AA2CF
square
#BA4ACF #CF774A #5FCF4A #4AA2CF
split-complementary
#BA4ACF #A2CF4A #4ACF77
monochromatic
#6F217D #9A2EAE #BA4ACF #CC7ADC #DFABE9

Accessibility & contrast

On white

4.23
#BA4ACF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#BA4ACF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4ACF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4ACF#FFFFFF#000000##000000
##BA4ACF1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2673D3
Deuteranopia (green-blind)
#587FCC
Tritanopia (blue-blind)
#BB6086
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4acf;
/* rgb */ color: rgb(186, 74, 207);
/* oklch */ color: oklch(61.0% 0.214 321.0);
Tailwind
colors: {
  custom: {
    50: '#d284de',
    500: '#ba4acf',
    950: '#000000',
  },
}
SCSS
$custom: #ba4acf;
$custom-light: #d284de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4acf",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 207
  },
  "hsl": {
    "h": 290.526,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61049,
    "c": 0.21394,
    "h": 321
  },
  "luminance": 0.19842
}

Semantic roles & 50–950 ramp

primary
#BA4ACF
secondary
#A7D69F
accent
#E1465F
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA4ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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