#BA5BD3#BA5BD3

#BA5BD3 is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.3% C 0.194 H 318.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BA5BD3
RGBrgb(186, 91, 211)
HSLhsl(288, 58%, 59%)
HSVhsv(288, 57%, 83%)
CMYKcmyk(11.8%, 56.9%, 0%, 17.3%)
CIE-LABlab(54.68, 56.24, -45.75)
CIE-LCHlch(54.68, 72.50, 320.87°)
OKLaboklab(63.32% 0.1458 -0.1274)
OKLCHoklch(63.32% 0.194 318.8)
XYZxyz(35.7471, 22.6259, 64.0996)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5BD3 #74D35B
analogous
#7E5BD3 #BA5BD3 #D35BB0
triadic
#BA5BD3 #D3BA5B #5BD3BA
tetradic
#BA5BD3 #D37E5B #74D35B #5BB0D3
square
#BA5BD3 #D37E5B #74D35B #5BB0D3
split-complementary
#BA5BD3 #B0D35B #5BD37E
monochromatic
#78268E #A133BE #BA5BD3 #CE8BE0 #E3BCED

Accessibility & contrast

On white

3.80
#BA5BD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#BA5BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5BD3
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5BD3#FFFFFF#000000##000000
##BA5BD31.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#407CD7
Deuteranopia (green-blind)
#6286D0
Tritanopia (blue-blind)
#BA6E8F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba5bd3;
/* rgb */ color: rgb(186, 91, 211);
/* oklch */ color: oklch(63.3% 0.194 318.8);
Tailwind
colors: {
  custom: {
    50: '#d18ee1',
    500: '#ba5bd3',
    950: '#000000',
  },
}
SCSS
$custom: #ba5bd3;
$custom-light: #d18ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5bd3",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 211
  },
  "hsl": {
    "h": 287.5,
    "s": 57.692,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63317,
    "c": 0.19364,
    "h": 318.8
  },
  "luminance": 0.22624
}

Semantic roles & 50–950 ramp

primary
#BA5BD3
secondary
#B7DCAD
accent
#E14767
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140D15
muted
#837D83

Preview Lab

Preview with #BA5BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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