#BA4BB8#BA4BB8

#BA4BB8 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.9% C 0.193 H 328.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BA4BB8
RGBrgb(186, 75, 184)
HSLhsl(301, 45%, 51%)
HSVhsv(301, 60%, 73%)
CMYKcmyk(0%, 59.7%, 1.1%, 27.1%)
CIE-LABlab(50.61, 58.60, -36.67)
CIE-LCHlch(50.61, 69.13, 327.96°)
OKLaboklab(59.9% 0.164 -0.101)
OKLCHoklch(59.9% 0.193 328.4)
XYZxyz(31.4171, 18.9340, 47.3380)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BB8 #4BBA4D
analogous
#844BBA #BA4BB8 #BA4B80
triadic
#BA4BB8 #B8BA4B #4BB8BA
tetradic
#BA4BB8 #BA844B #4BBA4D #4B80BA
square
#BA4BB8 #BA844B #4BBA4D #4B80BA
split-complementary
#BA4BB8 #80BA4B #4BBA84
monochromatic
#642663 #90378F #BA4BB8 #CB77C9 #DCA3DB

Accessibility & contrast

On white

4.39
#BA4BB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#BA4BB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BB8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BB8#FFFFFF#000000##000000
##BA4BB81.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#406FBB
Deuteranopia (green-blind)
#667EB5
Tritanopia (blue-blind)
#C0587B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba4bb8;
/* rgb */ color: rgb(186, 75, 184);
/* oklch */ color: oklch(59.9% 0.193 328.4);
Tailwind
colors: {
  custom: {
    50: '#d284cd',
    500: '#ba4bb8',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bb8;
$custom-light: #d284cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bb8",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 301.081,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59898,
    "c": 0.19256,
    "h": 328.4
  },
  "luminance": 0.18932
}

Semantic roles & 50–950 ramp

primary
#BA4BB8
secondary
#98C999
accent
#D45654
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA4BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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