#BA2BB0#BA2BB0

#BA2BB0 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.5% C 0.225 H 331.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BA2BB0
RGBrgb(186, 43, 176)
HSLhsl(304, 62%, 45%)
HSVhsv(304, 77%, 73%)
CMYKcmyk(0%, 76.9%, 5.4%, 27.1%)
CIE-LABlab(46.05, 68.97, -39.18)
CIE-LCHlch(46.05, 79.32, 330.40°)
OKLaboklab(56.47% 0.1969 -0.108)
OKLCHoklch(56.47% 0.225 331.3)
XYZxyz(28.9500, 15.3038, 42.4951)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2BB0 #2BBA35
analogous
#7D2BBA #BA2BB0 #BA2B68
triadic
#BA2BB0 #B0BA2B #2BB0BA
tetradic
#BA2BB0 #BA7D2B #2BBA35 #2B68BA
square
#BA2BB0 #BA7D2B #2BBA35 #2B68BA
split-complementary
#BA2BB0 #68BA2B #2BBA7D
monochromatic
#571452 #882081 #BA2BB0 #D64CCC #E17EDA

Accessibility & contrast

On white

5.17
#BA2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BA2BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2BB0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2BB0#FFFFFF#000000##FFFFFF
##BA2BB01.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B61B4
Deuteranopia (green-blind)
#5A74AD
Tritanopia (blue-blind)
#C23E6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba2bb0;
/* rgb */ color: rgb(186, 43, 176);
/* oklch */ color: oklch(56.5% 0.225 331.3);
Tailwind
colors: {
  custom: {
    50: '#d375c8',
    500: '#ba2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #ba2bb0;
$custom-light: #d375c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2bb0",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 304.196,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56471,
    "c": 0.22462,
    "h": 331.3
  },
  "luminance": 0.15301
}

Semantic roles & 50–950 ramp

primary
#BA2BB0
secondary
#77CA7D
accent
#E64E42
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BA2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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