#BA5BDC#BA5BDC

#BA5BDC is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 63.8% C 0.202 H 316.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#BA5BDC
RGBrgb(186, 91, 220)
HSLhsl(284, 65%, 61%)
HSVhsv(284, 59%, 86%)
CMYKcmyk(15.5%, 58.6%, 0%, 13.7%)
CIE-LABlab(55.16, 58.03, -50.09)
CIE-LCHlch(55.16, 76.66, 319.20°)
OKLaboklab(63.82% 0.1462 -0.1401)
OKLCHoklch(63.82% 0.202 316.2)
XYZxyz(36.9071, 23.0899, 70.2089)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5BDC #7DDC5B
analogous
#795BDC #BA5BDC #DC5BBD
triadic
#BA5BDC #DCBA5B #5BDCBA
tetradic
#BA5BDC #DC795B #7DDC5B #5BBDDC
square
#BA5BDC #DC795B #7DDC5B #5BBDDC
split-complementary
#BA5BDC #BDDC5B #5BDC79
monochromatic
#7B219B #A32CCE #BA5BDC #CF8DE7 #E4C0F2

Accessibility & contrast

On white

3.74
#BA5BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#BA5BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5BDC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5BDC#FFFFFF#000000##000000
##BA5BDC1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EE0
Deuteranopia (green-blind)
#5C87D9
Tritanopia (blue-blind)
#B87193
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba5bdc;
/* rgb */ color: rgb(186, 91, 220);
/* oklch */ color: oklch(63.8% 0.202 316.2);
Tailwind
colors: {
  custom: {
    50: '#d28ee7',
    500: '#ba5bdc',
    950: '#000000',
  },
}
SCSS
$custom: #ba5bdc;
$custom-light: #d28ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5bdc",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 284.186,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63823,
    "c": 0.20247,
    "h": 316.2
  },
  "luminance": 0.23089
}

Semantic roles & 50–950 ramp

primary
#BA5BDC
secondary
#BEE2B1
accent
#CD1948
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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