#BA3BD5#BA3BD5

#BA3BD5 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.9% C 0.237 H 319.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BA3BD5
RGBrgb(186, 59, 213)
HSLhsl(289, 65%, 53%)
HSVhsv(289, 72%, 84%)
CMYKcmyk(12.7%, 72.3%, 0%, 16.5%)
CIE-LABlab(49.95, 70.07, -54.45)
CIE-LCHlch(49.95, 88.74, 322.15°)
OKLaboklab(59.93% 0.1815 -0.1526)
OKLCHoklch(59.93% 0.237 319.9)
XYZxyz(33.8224, 18.3728, 64.7026)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BD5 #56D53B
analogous
#6D3BD5 #BA3BD5 #D53BA3
triadic
#BA3BD5 #D5BA3B #3BD5BA
tetradic
#BA3BD5 #D56D3B #56D53B #3BA3D5
square
#BA3BD5 #D56D3B #56D53B #3BA3D5
split-complementary
#BA3BD5 #A3D53B #3BD56D
monochromatic
#6A1A7B #9625AE #BA3BD5 #CC6DE0 #DDA0EB

Accessibility & contrast

On white

4.49
#BA3BD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#BA3BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3BD5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BD5#FFFFFF#000000##000000
##BA3BD51.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#497BD1
Tritanopia (blue-blind)
#BB5985
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba3bd5;
/* rgb */ color: rgb(186, 59, 213);
/* oklch */ color: oklch(59.9% 0.237 319.9);
Tailwind
colors: {
  custom: {
    50: '#d37de3',
    500: '#ba3bd5',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bd5;
$custom-light: #d37de3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bd5",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 213
  },
  "hsl": {
    "h": 289.481,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59932,
    "c": 0.23715,
    "h": 319.9
  },
  "luminance": 0.18371
}

Semantic roles & 50–950 ramp

primary
#BA3BD5
secondary
#A0D795
accent
#E8405D
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#150B15
muted
#837C84

Preview Lab

Preview with #BA3BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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