#BA4BDA#BA4BDA

#BA4BDA is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.8% C 0.223 H 317.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BA4BDA
RGBrgb(186, 75, 218)
HSLhsl(287, 66%, 57%)
HSVhsv(287, 66%, 85%)
CMYKcmyk(14.7%, 65.6%, 0%, 14.5%)
CIE-LABlab(52.44, 64.82, -53.31)
CIE-LCHlch(52.44, 83.93, 320.57°)
OKLaboklab(61.81% 0.165 -0.1494)
OKLCHoklch(61.81% 0.223 317.8)
XYZxyz(35.4189, 20.5347, 68.4140)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BDA #6BDA4B
analogous
#724BDA #BA4BDA #DA4BB3
triadic
#BA4BDA #DABA4B #4BDABA
tetradic
#BA4BDA #DA724B #6BDA4B #4BB3DA
square
#BA4BDA #DA724B #6BDA4B #4BB3DA
split-complementary
#BA4BDA #B3DA4B #4BDA72
monochromatic
#741D8E #9E28C0 #BA4BDA #CD7EE4 #E1B1EF

Accessibility & contrast

On white

4.11
#BA4BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#BA4BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BDA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BDA#FFFFFF#000000##000000
##BA4BDA1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1076DE
Deuteranopia (green-blind)
#5081D7
Tritanopia (blue-blind)
#B9658C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba4bda;
/* rgb */ color: rgb(186, 75, 218);
/* oklch */ color: oklch(61.8% 0.223 317.8);
Tailwind
colors: {
  custom: {
    50: '#d285e6',
    500: '#ba4bda',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bda;
$custom-light: #d285e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bda",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 218
  },
  "hsl": {
    "h": 286.573,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61811,
    "c": 0.22254,
    "h": 317.8
  },
  "luminance": 0.20533
}

Semantic roles & 50–950 ramp

primary
#BA4BDA
secondary
#B0DDA4
accent
#E93F65
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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