#BA2DBC#BA2DBC

#BA2DBC is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.3% C 0.232 H 327.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BA2DBC
RGBrgb(186, 45, 188)
HSLhsl(299, 61%, 46%)
HSVhsv(299, 76%, 74%)
CMYKcmyk(1.1%, 76.1%, 0%, 26.3%)
CIE-LABlab(46.91, 70.28, -44.86)
CIE-LCHlch(46.91, 83.37, 327.45°)
OKLaboklab(57.3% 0.1952 -0.1245)
OKLCHoklch(57.3% 0.232 327.5)
XYZxyz(30.2648, 15.9489, 49.0516)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2DBC #2FBC2D
analogous
#722DBC #BA2DBC #BC2D76
triadic
#BA2DBC #BCBA2D #2DBCBA
tetradic
#BA2DBC #BC722D #2FBC2D #2D76BC
square
#BA2DBC #BC722D #2FBC2D #2D76BC
split-complementary
#BA2DBC #76BC2D #2DBC72
monochromatic
#581559 #89218B #BA2DBC #D351D5 #E082E1

Accessibility & contrast

On white

5.01
#BA2DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#BA2DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2DBC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2DBC#FFFFFF#000000##FFFFFF
##BA2DBC1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C0
Deuteranopia (green-blind)
#5475B9
Tritanopia (blue-blind)
#C04574
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba2dbc;
/* rgb */ color: rgb(186, 45, 188);
/* oklch */ color: oklch(57.3% 0.232 327.5);
Tailwind
colors: {
  custom: {
    50: '#d376d1',
    500: '#ba2dbc',
    950: '#000000',
  },
}
SCSS
$custom: #ba2dbc;
$custom-light: #d376d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2dbc",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 299.161,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.57298,
    "c": 0.23153,
    "h": 327.5
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#BA2DBC
secondary
#7CCA7B
accent
#E44346
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA2DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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