#BA2DB0#BA2DB0

#BA2DB0 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.6% C 0.223 H 331.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA2DB0
RGBrgb(186, 45, 176)
HSLhsl(304, 61%, 45%)
HSVhsv(304, 76%, 73%)
CMYKcmyk(0%, 75.8%, 5.4%, 27.1%)
CIE-LABlab(46.25, 68.39, -38.86)
CIE-LCHlch(46.25, 78.66, 330.39°)
OKLaboklab(56.62% 0.1953 -0.1071)
OKLCHoklch(56.62% 0.223 331.3)
XYZxyz(29.0246, 15.4528, 42.5199)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2DB0 #2DBA37
analogous
#7D2DBA #BA2DB0 #BA2D6A
triadic
#BA2DB0 #B0BA2D #2DB0BA
tetradic
#BA2DB0 #BA7D2D #2DBA37 #2D6ABA
square
#BA2DB0 #BA7D2D #2DBA37 #2D6ABA
split-complementary
#BA2DB0 #6ABA2D #2DBA7D
monochromatic
#571553 #892181 #BA2DB0 #D550CB #E081DA

Accessibility & contrast

On white

5.13
#BA2DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BA2DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2DB0
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2DB0#FFFFFF#000000##FFFFFF
##BA2DB01.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F61B3
Deuteranopia (green-blind)
#5B74AD
Tritanopia (blue-blind)
#C23F6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba2db0;
/* rgb */ color: rgb(186, 45, 176);
/* oklch */ color: oklch(56.6% 0.223 331.3);
Tailwind
colors: {
  custom: {
    50: '#d376c8',
    500: '#ba2db0',
    950: '#000000',
  },
}
SCSS
$custom: #ba2db0;
$custom-light: #d376c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2db0",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 304.255,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56615,
    "c": 0.22272,
    "h": 331.3
  },
  "luminance": 0.1545
}

Semantic roles & 50–950 ramp

primary
#BA2DB0
secondary
#79C97F
accent
#E44F44
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA2DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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