#BA4BB3#BA4BB3

#BA4BB3 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.6% C 0.188 H 330.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BA4BB3
RGBrgb(186, 75, 179)
HSLhsl(304, 45%, 51%)
HSVhsv(304, 60%, 73%)
CMYKcmyk(0%, 59.7%, 3.8%, 27.1%)
CIE-LABlab(50.37, 57.74, -34.14)
CIE-LCHlch(50.37, 67.08, 329.41°)
OKLaboklab(59.64% 0.1634 -0.0937)
OKLCHoklch(59.64% 0.188 330.2)
XYZxyz(30.9022, 18.7280, 44.6263)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BB3 #4BBA52
analogous
#894BBA #BA4BB3 #BA4B7B
triadic
#BA4BB3 #B3BA4B #4BB3BA
tetradic
#BA4BB3 #BA894B #4BBA52 #4B7BBA
square
#BA4BB3 #BA894B #4BBA52 #4B7BBA
split-complementary
#BA4BB3 #7BBA4B #4BBA89
monochromatic
#642660 #90378B #BA4BB3 #CB77C6 #DCA3D8

Accessibility & contrast

On white

4.43
#BA4BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BA4BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BB3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BB3#FFFFFF#000000##000000
##BA4BB31.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#436EB6
Deuteranopia (green-blind)
#687DB0
Tritanopia (blue-blind)
#C15678
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba4bb3;
/* rgb */ color: rgb(186, 75, 179);
/* oklch */ color: oklch(59.6% 0.188 330.2);
Tailwind
colors: {
  custom: {
    50: '#d284ca',
    500: '#ba4bb3',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bb3;
$custom-light: #d284ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bb3",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 303.784,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59642,
    "c": 0.18839,
    "h": 330.2
  },
  "luminance": 0.18726
}

Semantic roles & 50–950 ramp

primary
#BA4BB3
secondary
#98C99B
accent
#D45C54
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA4BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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