#BA3EAD#BA3EAD

#BA3EAD is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 57.9% C 0.201 H 332.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BA3EAD
RGBrgb(186, 62, 173)
HSLhsl(306, 50%, 49%)
HSVhsv(306, 67%, 73%)
CMYKcmyk(0%, 66.7%, 7%, 27.1%)
CIE-LABlab(48.14, 62.13, -34.12)
CIE-LCHlch(48.14, 70.88, 331.23°)
OKLaboklab(57.93% 0.1783 -0.0935)
OKLCHoklch(57.93% 0.201 332.3)
XYZxyz(29.5152, 16.9038, 41.2353)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EAD #3EBA4B
analogous
#893EBA #BA3EAD #BA3E6F
triadic
#BA3EAD #ADBA3E #3EADBA
tetradic
#BA3EAD #BA893E #3EBA4B #3E6FBA
square
#BA3EAD #BA893E #3EBA4B #3E6FBA
split-complementary
#BA3EAD #6FBA3E #3EBA89
monochromatic
#5E1F58 #8C2F82 #BA3EAD #CD68C2 #DC96D5

Accessibility & contrast

On white

4.79
#BA3EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#BA3EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3EAD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3EAD#FFFFFF#000000##FFFFFF
##BA3EAD1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3867B0
Deuteranopia (green-blind)
#6479AA
Tritanopia (blue-blind)
#C24A70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3ead;
/* rgb */ color: rgb(186, 62, 173);
/* oklch */ color: oklch(57.9% 0.201 332.3);
Tailwind
colors: {
  custom: {
    50: '#d27dc6',
    500: '#ba3ead',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ead;
$custom-light: #d27dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ead",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 173
  },
  "hsl": {
    "h": 306.29,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57926,
    "c": 0.20136,
    "h": 332.3
  },
  "luminance": 0.16901
}

Semantic roles & 50–950 ramp

primary
#BA3EAD
secondary
#8CC892
accent
#DA5D4E
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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