#BA5DD3#BA5DD3

#BA5DD3 is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.6% C 0.191 H 318.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#BA5DD3
RGBrgb(186, 93, 211)
HSLhsl(287, 57%, 60%)
HSVhsv(287, 56%, 83%)
CMYKcmyk(11.8%, 55.9%, 0%, 17.3%)
CIE-LABlab(55.04, 55.27, -45.18)
CIE-LCHlch(55.04, 71.39, 320.74°)
OKLaboklab(63.58% 0.1432 -0.1258)
OKLCHoklch(63.58% 0.191 318.7)
XYZxyz(35.9204, 22.9724, 64.1574)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5DD3 #76D35D
analogous
#7F5DD3 #BA5DD3 #D35DB1
triadic
#BA5DD3 #D3BA5D #5DD3BA
tetradic
#BA5DD3 #D37F5D #76D35D #5DB1D3
square
#BA5DD3 #D37F5D #76D35D #5DB1D3
split-complementary
#BA5DD3 #B1D35D #5DD37F
monochromatic
#79278F #A134BF #BA5DD3 #CE8DE0 #E3BDED

Accessibility & contrast

On white

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

On black

5.59
#BA5DD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5DD3
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5DD3#FFFFFF#000000##000000
##BA5DD31.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#437ED7
Deuteranopia (green-blind)
#6387D0
Tritanopia (blue-blind)
#BA6F8F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba5dd3;
/* rgb */ color: rgb(186, 93, 211);
/* oklch */ color: oklch(63.6% 0.191 318.7);
Tailwind
colors: {
  custom: {
    50: '#d18fe1',
    500: '#ba5dd3',
    950: '#000000',
  },
}
SCSS
$custom: #ba5dd3;
$custom-light: #d18fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5dd3",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 211
  },
  "hsl": {
    "h": 287.288,
    "s": 57.282,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6358,
    "c": 0.19062,
    "h": 318.7
  },
  "luminance": 0.22971
}

Semantic roles & 50–950 ramp

primary
#BA5DD3
secondary
#B9DDAF
accent
#E14768
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA5DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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