#BA4CD0#BA4CD0

#BA4CD0 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.3% C 0.212 H 320.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BA4CD0
RGBrgb(186, 76, 208)
HSLhsl(290, 58%, 56%)
HSVhsv(290, 63%, 82%)
CMYKcmyk(10.6%, 63.5%, 0%, 18.4%)
CIE-LABlab(52.02, 62.50, -48.27)
CIE-LCHlch(52.02, 78.97, 322.32°)
OKLaboklab(61.33% 0.164 -0.1347)
OKLCHoklch(61.33% 0.212 320.6)
XYZxyz(34.2180, 20.1637, 61.7519)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CD0 #62D04C
analogous
#784CD0 #BA4CD0 #D04CA4
triadic
#BA4CD0 #D0BA4C #4CD0BA
tetradic
#BA4CD0 #D0784C #62D04C #4CA4D0
square
#BA4CD0 #D0784C #62D04C #4CA4D0
split-complementary
#BA4CD0 #A4D04C #4CD078
monochromatic
#702280 #9B2EB0 #BA4CD0 #CD7CDD #DFADE9

Accessibility & contrast

On white

4.17
#BA4CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#BA4CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CD0
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CD0#FFFFFF#000000##000000
##BA4CD01.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2874D4
Deuteranopia (green-blind)
#5980CD
Tritanopia (blue-blind)
#BB6287
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba4cd0;
/* rgb */ color: rgb(186, 76, 208);
/* oklch */ color: oklch(61.3% 0.212 320.6);
Tailwind
colors: {
  custom: {
    50: '#d285df',
    500: '#ba4cd0',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cd0;
$custom-light: #d285df;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cd0",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 290,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61329,
    "c": 0.21218,
    "h": 320.6
  },
  "luminance": 0.20162
}

Semantic roles & 50–950 ramp

primary
#BA4CD0
secondary
#AAD7A0
accent
#E24660
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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