#BA4BB5#BA4BB5

#BA4BB5 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.7% C 0.190 H 329.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BA4BB5
RGBrgb(186, 75, 181)
HSLhsl(303, 45%, 51%)
HSVhsv(303, 60%, 73%)
CMYKcmyk(0%, 59.7%, 2.7%, 27.1%)
CIE-LABlab(50.46, 58.08, -35.15)
CIE-LCHlch(50.46, 67.89, 328.82°)
OKLaboklab(59.74% 0.1637 -0.0966)
OKLCHoklch(59.74% 0.19 329.4)
XYZxyz(31.1060, 18.8095, 45.6993)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BB5 #4BBA50
analogous
#874BBA #BA4BB5 #BA4B7D
triadic
#BA4BB5 #B5BA4B #4BB5BA
tetradic
#BA4BB5 #BA874B #4BBA50 #4B7DBA
square
#BA4BB5 #BA874B #4BBA50 #4B7DBA
split-complementary
#BA4BB5 #7DBA4B #4BBA87
monochromatic
#642661 #90378C #BA4BB5 #CB77C7 #DCA3D9

Accessibility & contrast

On white

4.41
#BA4BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#BA4BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BB5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BB5#FFFFFF#000000##000000
##BA4BB51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#426EB8
Deuteranopia (green-blind)
#677DB2
Tritanopia (blue-blind)
#C05779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba4bb5;
/* rgb */ color: rgb(186, 75, 181);
/* oklch */ color: oklch(59.7% 0.190 329.4);
Tailwind
colors: {
  custom: {
    50: '#d284cb',
    500: '#ba4bb5',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bb5;
$custom-light: #d284cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bb5",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 302.703,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59743,
    "c": 0.19005,
    "h": 329.4
  },
  "luminance": 0.18807
}

Semantic roles & 50–950 ramp

primary
#BA4BB5
secondary
#98C99A
accent
#D45954
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA4BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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