#BA5EBD#BA5EBD

#BA5EBD is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.6% C 0.168 H 326.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BA5EBD
RGBrgb(186, 94, 189)
HSLhsl(298, 42%, 55%)
HSVhsv(298, 50%, 74%)
CMYKcmyk(1.6%, 50.3%, 0%, 25.9%)
CIE-LABlab(54.15, 50.58, -34.00)
CIE-LCHlch(54.15, 60.94, 326.09°)
OKLaboklab(62.58% 0.1395 -0.0935)
OKLCHoklch(62.58% 0.168 326.2)
XYZxyz(33.4370, 22.1204, 50.6427)
Luminance0.2212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EBD #61BD5E
analogous
#8A5EBD #BA5EBD #BD5E90
triadic
#BA5EBD #BDBA5E #5EBDBA
tetradic
#BA5EBD #BD8A5E #61BD5E #5E90BD
square
#BA5EBD #BD8A5E #61BD5E #5E90BD
split-complementary
#BA5EBD #90BD5E #5EBD8A
monochromatic
#702F72 #9A409D #BA5EBD #CD89CF #DFB5E1

Accessibility & contrast

On white

3.87
#BA5EBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#BA5EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EBD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EBD#FFFFFF#000000##000000
##BA5EBD1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#547AC0
Deuteranopia (green-blind)
#7086BA
Tritanopia (blue-blind)
#BE6985
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba5ebd;
/* rgb */ color: rgb(186, 94, 189);
/* oklch */ color: oklch(62.6% 0.168 326.2);
Tailwind
colors: {
  custom: {
    50: '#d18fd1',
    500: '#ba5ebd',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ebd;
$custom-light: #d18fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ebd",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 189
  },
  "hsl": {
    "h": 298.105,
    "s": 41.85,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62576,
    "c": 0.16791,
    "h": 326.2
  },
  "luminance": 0.22119
}

Semantic roles & 50–950 ramp

primary
#BA5EBD
secondary
#A9CFA8
accent
#D2565A
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA5EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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