#BA4BD3#BA4BD3

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

Color values

HEX#BA4BD3
RGBrgb(186, 75, 211)
HSLhsl(289, 61%, 56%)
HSVhsv(289, 64%, 83%)
CMYKcmyk(11.8%, 64.5%, 0%, 17.3%)
CIE-LABlab(52.04, 63.49, -49.96)
CIE-LCHlch(52.04, 80.79, 321.80°)
OKLaboklab(61.39% 0.1651 -0.1396)
OKLCHoklch(61.39% 0.216 319.8)
XYZxyz(34.5222, 20.1760, 63.6913)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BD3 #64D34B
analogous
#764BD3 #BA4BD3 #D34BA8
triadic
#BA4BD3 #D3BA4B #4BD3BA
tetradic
#BA4BD3 #D3764B #64D34B #4BA8D3
square
#BA4BD3 #D3764B #64D34B #4BA8D3
split-complementary
#BA4BD3 #A8D34B #4BD376
monochromatic
#712083 #9C2CB5 #BA4BD3 #CD7CDF #E0ADEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4BD3#FFFFFF#000000##000000
##BA4BD31.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)
#2174D7
Deuteranopia (green-blind)
#5680D0
Tritanopia (blue-blind)
#BB6289
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba4bd3;
/* rgb */ color: rgb(186, 75, 211);
/* oklch */ color: oklch(61.4% 0.216 319.8);
Tailwind
colors: {
  custom: {
    50: '#d285e1',
    500: '#ba4bd3',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bd3;
$custom-light: #d285e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bd3",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 288.971,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61393,
    "c": 0.21621,
    "h": 319.8
  },
  "luminance": 0.20174
}

Semantic roles & 50–950 ramp

primary
#BA4BD3
secondary
#ABD9A1
accent
#E44461
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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