#BA5BDB#BA5BDB

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

Color values

HEX#BA5BDB
RGBrgb(186, 91, 219)
HSLhsl(285, 64%, 61%)
HSVhsv(285, 58%, 86%)
CMYKcmyk(15.1%, 58.4%, 0%, 14.1%)
CIE-LABlab(55.11, 57.83, -49.61)
CIE-LCHlch(55.11, 76.19, 319.38°)
OKLaboklab(63.77% 0.1462 -0.1387)
OKLCHoklch(63.77% 0.201 316.5)
XYZxyz(36.7751, 23.0371, 69.5135)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5BDB #7CDB5B
analogous
#7A5BDB #BA5BDB #DB5BBC
triadic
#BA5BDB #DBBA5B #5BDBBA
tetradic
#BA5BDB #DB7A5B #7CDB5B #5BBCDB
square
#BA5BDB #DB7A5B #7CDB5B #5BBCDB
split-complementary
#BA5BDB #BCDB5B #5BDB7A
monochromatic
#7B229A #A32DCC #BA5BDB #CF8DE6 #E4BFF1

Accessibility & contrast

On white

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

On black

5.61
#BA5BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5BDB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5BDB#FFFFFF#000000##000000
##BA5BDB1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EDF
Deuteranopia (green-blind)
#5D87D8
Tritanopia (blue-blind)
#B87093
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba5bdb;
/* rgb */ color: rgb(186, 91, 219);
/* oklch */ color: oklch(63.8% 0.201 316.5);
Tailwind
colors: {
  custom: {
    50: '#d28ee7',
    500: '#ba5bdb',
    950: '#000000',
  },
}
SCSS
$custom: #ba5bdb;
$custom-light: #d28ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5bdb",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 284.531,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63766,
    "c": 0.20149,
    "h": 316.5
  },
  "luminance": 0.23036
}

Semantic roles & 50–950 ramp

primary
#BA5BDB
secondary
#BDE1B1
accent
#CC1A48
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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