#BA5CDB#BA5CDB

#BA5CDB is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 63.9% C 0.200 H 316.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#BA5CDB
RGBrgb(186, 92, 219)
HSLhsl(284, 64%, 61%)
HSVhsv(284, 58%, 86%)
CMYKcmyk(15.1%, 58%, 0%, 14.1%)
CIE-LABlab(55.29, 57.35, -49.33)
CIE-LCHlch(55.29, 75.65, 319.30°)
OKLaboklab(63.9% 0.1449 -0.1379)
OKLCHoklch(63.9% 0.2 316.4)
XYZxyz(36.8611, 23.2092, 69.5422)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CDB #7DDB5C
analogous
#7A5CDB #BA5CDB #DB5CBD
triadic
#BA5CDB #DBBA5C #5CDBBA
tetradic
#BA5CDB #DB7A5C #7DDB5C #5CBDDB
square
#BA5CDB #DB7A5C #7DDB5C #5CBDDB
split-complementary
#BA5CDB #BDDB5C #5CDB7A
monochromatic
#7B229A #A32DCD #BA5CDB #CF8EE6 #E4C0F1

Accessibility & contrast

On white

3.72
#BA5CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#BA5CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CDB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CDB#FFFFFF#000000##000000
##BA5CDB1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FDF
Deuteranopia (green-blind)
#5E87D8
Tritanopia (blue-blind)
#B87193
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba5cdb;
/* rgb */ color: rgb(186, 92, 219);
/* oklch */ color: oklch(63.9% 0.200 316.4);
Tailwind
colors: {
  custom: {
    50: '#d28fe7',
    500: '#ba5cdb',
    950: '#000000',
  },
}
SCSS
$custom: #ba5cdb;
$custom-light: #d28fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5cdb",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 284.409,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63895,
    "c": 0.20002,
    "h": 316.4
  },
  "luminance": 0.23208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA5CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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