#BA4BB0#BA4BB0

#BA4BB0 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.5% C 0.186 H 331.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA4BB0
RGBrgb(186, 75, 176)
HSLhsl(305, 45%, 51%)
HSVhsv(305, 60%, 73%)
CMYKcmyk(0%, 59.7%, 5.4%, 27.1%)
CIE-LABlab(50.23, 57.24, -32.60)
CIE-LCHlch(50.23, 65.88, 330.33°)
OKLaboklab(59.49% 0.1631 -0.0893)
OKLCHoklch(59.49% 0.186 331.3)
XYZxyz(30.6021, 18.6080, 43.0458)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BB0 #4BBA55
analogous
#8C4BBA #BA4BB0 #BA4B78
triadic
#BA4BB0 #B0BA4B #4BB0BA
tetradic
#BA4BB0 #BA8C4B #4BBA55 #4B78BA
square
#BA4BB0 #BA8C4B #4BBA55 #4B78BA
split-complementary
#BA4BB0 #78BA4B #4BBA8C
monochromatic
#64265F #903788 #BA4BB0 #CB77C3 #DCA3D7

Accessibility & contrast

On white

4.45
#BA4BB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#BA4BB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BB0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BB0#FFFFFF#000000##000000
##BA4BB01.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#456EB3
Deuteranopia (green-blind)
#697DAD
Tritanopia (blue-blind)
#C15577
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba4bb0;
/* rgb */ color: rgb(186, 75, 176);
/* oklch */ color: oklch(59.5% 0.186 331.3);
Tailwind
colors: {
  custom: {
    50: '#d284c8',
    500: '#ba4bb0',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bb0;
$custom-light: #d284c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bb0",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 176
  },
  "hsl": {
    "h": 305.405,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59492,
    "c": 0.18593,
    "h": 331.3
  },
  "luminance": 0.18606
}

Semantic roles & 50–950 ramp

primary
#BA4BB0
secondary
#98C99C
accent
#D45F54
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA4BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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