#BA3BBF#BA3BBF

#BA3BBF is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.219 H 326.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BA3BBF
RGBrgb(186, 59, 191)
HSLhsl(298, 53%, 49%)
HSVhsv(298, 69%, 75%)
CMYKcmyk(2.6%, 69.1%, 0%, 25.1%)
CIE-LABlab(48.67, 66.21, -43.80)
CIE-LCHlch(48.67, 79.38, 326.52°)
OKLaboklab(58.61% 0.1824 -0.1215)
OKLCHoklch(58.61% 0.219 326.3)
XYZxyz(31.2170, 17.3307, 50.9810)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BBF #40BF3B
analogous
#783BBF #BA3BBF #BF3B82
triadic
#BA3BBF #BFBA3B #3BBFBA
tetradic
#BA3BBF #BF783B #40BF3B #3B82BF
square
#BA3BBF #BF783B #40BF3B #3B82BF
split-complementary
#BA3BBF #82BF3B #3BBF78
monochromatic
#5F1E61 #8C2D90 #BA3BBF #CC67D0 #DC96DF

Accessibility & contrast

On white

4.70
#BA3BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#BA3BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BBF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BBF#FFFFFF#000000##FFFFFF
##BA3BBF1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2069C3
Deuteranopia (green-blind)
#5979BC
Tritanopia (blue-blind)
#BF4F79
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3bbf;
/* rgb */ color: rgb(186, 59, 191);
/* oklch */ color: oklch(58.6% 0.219 326.3);
Tailwind
colors: {
  custom: {
    50: '#d27cd3',
    500: '#ba3bbf',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bbf;
$custom-light: #d27cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bbf",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 191
  },
  "hsl": {
    "h": 297.727,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58615,
    "c": 0.21914,
    "h": 326.3
  },
  "luminance": 0.17329
}

Semantic roles & 50–950 ramp

primary
#BA3BBF
secondary
#8ECA8C
accent
#DC4C51
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA3BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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