#BA5BDD#BA5BDD

#BA5BDD is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 63.9% C 0.203 H 315.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#BA5BDD
RGBrgb(186, 91, 221)
HSLhsl(284, 66%, 61%)
HSVhsv(284, 59%, 87%)
CMYKcmyk(15.8%, 58.8%, 0%, 13.3%)
CIE-LABlab(55.22, 58.23, -50.57)
CIE-LCHlch(55.22, 77.12, 319.03°)
OKLaboklab(63.88% 0.1462 -0.1415)
OKLCHoklch(63.88% 0.203 315.9)
XYZxyz(37.0399, 23.1430, 70.9085)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5BDD #7EDD5B
analogous
#795BDD #BA5BDD #DD5BBF
triadic
#BA5BDD #DDBA5B #5BDDBA
tetradic
#BA5BDD #DD795B #7EDD5B #5BBFDD
square
#BA5BDD #DD795B #7EDD5B #5BBFDD
split-complementary
#BA5BDD #BFDD5B #5BDD79
monochromatic
#7C219D #A32BD0 #BA5BDD #CF8EE8 #E5C0F2

Accessibility & contrast

On white

3.73
#BA5BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#BA5BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5BDD
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5BDD#FFFFFF#000000##000000
##BA5BDD1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE1
Deuteranopia (green-blind)
#5B87DA
Tritanopia (blue-blind)
#B87194
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba5bdd;
/* rgb */ color: rgb(186, 91, 221);
/* oklch */ color: oklch(63.9% 0.203 315.9);
Tailwind
colors: {
  custom: {
    50: '#d28ee8',
    500: '#ba5bdd',
    950: '#000000',
  },
}
SCSS
$custom: #ba5bdd;
$custom-light: #d28ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5bdd",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 221
  },
  "hsl": {
    "h": 283.846,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6388,
    "c": 0.20346,
    "h": 315.9
  },
  "luminance": 0.23142
}

Semantic roles & 50–950 ramp

primary
#BA5BDD
secondary
#BFE2B1
accent
#CE1849
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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