#BA4BBB#BA4BBB

#BA4BBB is a mid, vivid purple. Relative luminance 0.191; OKLCH L 60.1% C 0.195 H 327.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BA4BBB
RGBrgb(186, 75, 187)
HSLhsl(299, 45%, 51%)
HSVhsv(299, 60%, 73%)
CMYKcmyk(0.5%, 59.9%, 0%, 26.7%)
CIE-LABlab(50.76, 59.12, -38.18)
CIE-LCHlch(50.76, 70.37, 327.15°)
OKLaboklab(60.05% 0.1642 -0.1054)
OKLCHoklch(60.05% 0.195 327.3)
XYZxyz(31.7349, 19.0611, 49.0117)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BBB #4CBB4B
analogous
#824BBB #BA4BBB #BB4B84
triadic
#BA4BBB #BBBA4B #4BBBBA
tetradic
#BA4BBB #BB824B #4CBB4B #4B84BB
square
#BA4BBB #BB824B #4CBB4B #4B84BB
split-complementary
#BA4BBB #84BB4B #4BBB82
monochromatic
#652665 #913792 #BA4BBB #CB77CC #DCA4DD

Accessibility & contrast

On white

4.36
#BA4BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#BA4BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BBB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BBB#FFFFFF#000000##000000
##BA4BBB1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D70BE
Deuteranopia (green-blind)
#647EB8
Tritanopia (blue-blind)
#BF597C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba4bbb;
/* rgb */ color: rgb(186, 75, 187);
/* oklch */ color: oklch(60.1% 0.195 327.3);
Tailwind
colors: {
  custom: {
    50: '#d284d0',
    500: '#ba4bbb',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bbb;
$custom-light: #d284d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bbb",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 299.464,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60054,
    "c": 0.1951,
    "h": 327.3
  },
  "luminance": 0.19059
}

Semantic roles & 50–950 ramp

primary
#BA4BBB
secondary
#99CA98
accent
#D55354
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA4BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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