#BA4DD2#BA4DD2

#BA4DD2 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.6% C 0.213 H 320.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BA4DD2
RGBrgb(186, 77, 210)
HSLhsl(289, 60%, 56%)
HSVhsv(289, 63%, 82%)
CMYKcmyk(11.4%, 63.3%, 0%, 17.6%)
CIE-LABlab(52.29, 62.44, -48.99)
CIE-LCHlch(52.29, 79.37, 321.88°)
OKLaboklab(61.56% 0.1628 -0.1368)
OKLCHoklch(61.56% 0.213 320)
XYZxyz(34.5350, 20.4016, 63.0791)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DD2 #65D24D
analogous
#784DD2 #BA4DD2 #D24DA8
triadic
#BA4DD2 #D2BA4D #4DD2BA
tetradic
#BA4DD2 #D2784D #65D24D #4DA8D2
square
#BA4DD2 #D2784D #65D24D #4DA8D2
split-complementary
#BA4DD2 #A8D24D #4DD278
monochromatic
#722183 #9C2EB4 #BA4DD2 #CD7EDE #E0AFEB

Accessibility & contrast

On white

4.13
#BA4DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#BA4DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DD2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DD2#FFFFFF#000000##000000
##BA4DD21.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2875D6
Deuteranopia (green-blind)
#5881CF
Tritanopia (blue-blind)
#BB6389
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba4dd2;
/* rgb */ color: rgb(186, 77, 210);
/* oklch */ color: oklch(61.6% 0.213 320.0);
Tailwind
colors: {
  custom: {
    50: '#d286e0',
    500: '#ba4dd2',
    950: '#000000',
  },
}
SCSS
$custom: #ba4dd2;
$custom-light: #d286e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4dd2",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 289.173,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61557,
    "c": 0.21264,
    "h": 320
  },
  "luminance": 0.204
}

Semantic roles & 50–950 ramp

primary
#BA4DD2
secondary
#ACD9A2
accent
#E34561
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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