#BA2DD0#BA2DD0

#BA2DD0 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.5% C 0.247 H 321.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BA2DD0
RGBrgb(186, 45, 208)
HSLhsl(292, 64%, 50%)
HSVhsv(292, 78%, 82%)
CMYKcmyk(10.6%, 78.4%, 0%, 18.4%)
CIE-LABlab(48.10, 73.61, -54.54)
CIE-LCHlch(48.10, 91.62, 323.46°)
OKLaboklab(58.52% 0.1938 -0.1528)
OKLCHoklch(58.52% 0.247 321.7)
XYZxyz(32.5720, 16.8718, 61.2032)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2DD0 #43D02D
analogous
#692DD0 #BA2DD0 #D02D95
triadic
#BA2DD0 #D0BA2D #2DD0BA
tetradic
#BA2DD0 #D0692D #43D02D #2D95D0
square
#BA2DD0 #D0692D #43D02D #2D95D0
split-complementary
#BA2DD0 #95D02D #2DD069
monochromatic
#60176B #8D229E #BA2DD0 #CB5EDC #DB90E7

Accessibility & contrast

On white

4.80
#BA2DD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#BA2DD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2DD0
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2DD0#FFFFFF#000000##FFFFFF
##BA2DD01.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D4
Deuteranopia (green-blind)
#4577CC
Tritanopia (blue-blind)
#BC4F7F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba2dd0;
/* rgb */ color: rgb(186, 45, 208);
/* oklch */ color: oklch(58.5% 0.247 321.7);
Tailwind
colors: {
  custom: {
    50: '#d377df',
    500: '#ba2dd0',
    950: '#000000',
  },
}
SCSS
$custom: #ba2dd0;
$custom-light: #d377df;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2dd0",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 208
  },
  "hsl": {
    "h": 291.902,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58524,
    "c": 0.24678,
    "h": 321.7
  },
  "luminance": 0.1687
}

Semantic roles & 50–950 ramp

primary
#BA2DD0
secondary
#91D287
accent
#E74057
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #BA2DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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