#BA4ED1#BA4ED1

#BA4ED1 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.6% C 0.210 H 320.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BA4ED1
RGBrgb(186, 78, 209)
HSLhsl(289, 59%, 56%)
HSVhsv(289, 63%, 82%)
CMYKcmyk(11%, 62.7%, 0%, 18%)
CIE-LABlab(52.39, 61.82, -48.26)
CIE-LCHlch(52.39, 78.42, 322.02°)
OKLaboklab(61.61% 0.1616 -0.1346)
OKLCHoklch(61.61% 0.21 320.2)
XYZxyz(34.4813, 20.4930, 62.4485)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4ED1 #65D14E
analogous
#794ED1 #BA4ED1 #D14EA7
triadic
#BA4ED1 #D1BA4E #4ED1BA
tetradic
#BA4ED1 #D1794E #65D14E #4EA7D1
square
#BA4ED1 #D1794E #65D14E #4EA7D1
split-complementary
#BA4ED1 #A7D14E #4ED179
monochromatic
#722283 #9C2FB3 #BA4ED1 #CD7FDE #E0AFEA

Accessibility & contrast

On white

4.12
#BA4ED1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#BA4ED1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4ED1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4ED1#FFFFFF#000000##000000
##BA4ED11.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B75D5
Deuteranopia (green-blind)
#5981CE
Tritanopia (blue-blind)
#BB6489
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba4ed1;
/* rgb */ color: rgb(186, 78, 209);
/* oklch */ color: oklch(61.6% 0.210 320.2);
Tailwind
colors: {
  custom: {
    50: '#d286e0',
    500: '#ba4ed1',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ed1;
$custom-light: #d286e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ed1",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 209
  },
  "hsl": {
    "h": 289.466,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61613,
    "c": 0.21038,
    "h": 320.2
  },
  "luminance": 0.20491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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