#BA4CD1#BA4CD1

#BA4CD1 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.4% C 0.213 H 320.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BA4CD1
RGBrgb(186, 76, 209)
HSLhsl(290, 59%, 56%)
HSVhsv(290, 64%, 82%)
CMYKcmyk(11%, 63.6%, 0%, 18%)
CIE-LABlab(52.08, 62.68, -48.75)
CIE-LCHlch(52.08, 79.41, 322.13°)
OKLaboklab(61.39% 0.164 -0.1361)
OKLCHoklch(61.39% 0.213 320.3)
XYZxyz(34.3414, 20.2131, 62.4018)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CD1 #63D14C
analogous
#774CD1 #BA4CD1 #D14CA5
triadic
#BA4CD1 #D1BA4C #4CD1BA
tetradic
#BA4CD1 #D1774C #63D14C #4CA5D1
square
#BA4CD1 #D1774C #63D14C #4CA5D1
split-complementary
#BA4CD1 #A5D14C #4CD177
monochromatic
#712181 #9B2EB2 #BA4CD1 #CD7DDE #E0ADEA

Accessibility & contrast

On white

4.16
#BA4CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#BA4CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CD1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CD1#FFFFFF#000000##000000
##BA4CD11.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2775D5
Deuteranopia (green-blind)
#5880CE
Tritanopia (blue-blind)
#BB6288
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba4cd1;
/* rgb */ color: rgb(186, 76, 209);
/* oklch */ color: oklch(61.4% 0.213 320.3);
Tailwind
colors: {
  custom: {
    50: '#d285e0',
    500: '#ba4cd1',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cd1;
$custom-light: #d285e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cd1",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 289.624,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61387,
    "c": 0.21307,
    "h": 320.3
  },
  "luminance": 0.20211
}

Semantic roles & 50–950 ramp

primary
#BA4CD1
secondary
#AAD8A1
accent
#E24661
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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