#BA5BDA#BA5BDA

#BA5BDA is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 63.7% C 0.201 H 316.8°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#BA5BDA
RGBrgb(186, 91, 218)
HSLhsl(285, 63%, 61%)
HSVhsv(285, 58%, 85%)
CMYKcmyk(14.7%, 58.3%, 0%, 14.5%)
CIE-LABlab(55.06, 57.63, -49.13)
CIE-LCHlch(55.06, 75.73, 319.55°)
OKLaboklab(63.71% 0.1461 -0.1373)
OKLCHoklch(63.71% 0.201 316.8)
XYZxyz(36.6438, 22.9846, 68.8223)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5BDA #7BDA5B
analogous
#7A5BDA #BA5BDA #DA5BBA
triadic
#BA5BDA #DABA5B #5BDABA
tetradic
#BA5BDA #DA7A5B #7BDA5B #5BBADA
square
#BA5BDA #DA7A5B #7BDA5B #5BBADA
split-complementary
#BA5BDA #BADA5B #5BDA7A
monochromatic
#7B2298 #A32ECA #BA5BDA #CF8DE5 #E4BFF1

Accessibility & contrast

On white

3.75
#BA5BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#BA5BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5BDA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5BDA#FFFFFF#000000##000000
##BA5BDA1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDE
Deuteranopia (green-blind)
#5D87D7
Tritanopia (blue-blind)
#B97092
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba5bda;
/* rgb */ color: rgb(186, 91, 218);
/* oklch */ color: oklch(63.7% 0.201 316.8);
Tailwind
colors: {
  custom: {
    50: '#d28ee6',
    500: '#ba5bda',
    950: '#000000',
  },
}
SCSS
$custom: #ba5bda;
$custom-light: #d28ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5bda",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 284.882,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63709,
    "c": 0.2005,
    "h": 316.8
  },
  "luminance": 0.22983
}

Semantic roles & 50–950 ramp

primary
#BA5BDA
secondary
#BCE1B0
accent
#CB1B47
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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