#BA4BC9#BA4BC9

#BA4BC9 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.8% C 0.207 H 322.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BA4BC9
RGBrgb(186, 75, 201)
HSLhsl(293, 54%, 54%)
HSVhsv(293, 63%, 79%)
CMYKcmyk(7.5%, 62.7%, 0%, 21.2%)
CIE-LABlab(51.48, 61.63, -45.11)
CIE-LCHlch(51.48, 76.37, 323.80°)
OKLaboklab(60.82% 0.165 -0.1255)
OKLCHoklch(60.82% 0.207 322.7)
XYZxyz(33.3073, 19.6901, 57.2932)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BC9 #5AC94B
analogous
#7B4BC9 #BA4BC9 #C94B99
triadic
#BA4BC9 #C9BA4B #4BC9BA
tetradic
#BA4BC9 #C97B4B #5AC94B #4B99C9
square
#BA4BC9 #C97B4B #5AC94B #4B99C9
split-complementary
#BA4BC9 #99C94B #4BC97B
monochromatic
#6C2376 #9732A5 #BA4BC9 #CC7AD7 #DEA9E5

Accessibility & contrast

On white

4.25
#BA4BC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#BA4BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BC9
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BC9#FFFFFF#000000##000000
##BA4BC91.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3072CD
Deuteranopia (green-blind)
#5C7FC6
Tritanopia (blue-blind)
#BD5F83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4bc9;
/* rgb */ color: rgb(186, 75, 201);
/* oklch */ color: oklch(60.8% 0.207 322.7);
Tailwind
colors: {
  custom: {
    50: '#d284da',
    500: '#ba4bc9',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bc9;
$custom-light: #d284da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bc9",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 201
  },
  "hsl": {
    "h": 292.857,
    "s": 53.846,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60817,
    "c": 0.20728,
    "h": 322.7
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#BA4BC9
secondary
#A3D39D
accent
#DD4B5C
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA4BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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