#BA4BBF#BA4BBF

#BA4BBF is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.3% C 0.199 H 326.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BA4BBF
RGBrgb(186, 75, 191)
HSLhsl(297, 48%, 52%)
HSVhsv(297, 61%, 75%)
CMYKcmyk(2.6%, 60.7%, 0%, 25.1%)
CIE-LABlab(50.96, 59.82, -40.17)
CIE-LCHlch(50.96, 72.06, 326.12°)
OKLaboklab(60.27% 0.1645 -0.1111)
OKLCHoklch(60.27% 0.199 326)
XYZxyz(32.1691, 19.2348, 51.2984)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BBF #50BF4B
analogous
#804BBF #BA4BBF #BF4B8A
triadic
#BA4BBF #BFBA4B #4BBFBA
tetradic
#BA4BBF #BF804B #50BF4B #4B8ABF
square
#BA4BBF #BF804B #50BF4B #4B8ABF
split-complementary
#BA4BBF #8ABF4B #4BBF80
monochromatic
#67266A #933697 #BA4BBF #CB78CF #DDA5DF

Accessibility & contrast

On white

4.33
#BA4BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#BA4BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BBF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BBF#FFFFFF#000000##000000
##BA4BBF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A70C3
Deuteranopia (green-blind)
#627EBC
Tritanopia (blue-blind)
#BE5B7E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba4bbf;
/* rgb */ color: rgb(186, 75, 191);
/* oklch */ color: oklch(60.3% 0.199 326.0);
Tailwind
colors: {
  custom: {
    50: '#d284d3',
    500: '#ba4bbf',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bbf;
$custom-light: #d284d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bbf",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 297.414,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60267,
    "c": 0.19853,
    "h": 326
  },
  "luminance": 0.19233
}

Semantic roles & 50–950 ramp

primary
#BA4BBF
secondary
#9CCC9A
accent
#D75156
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA4BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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