#BA5DD4#BA5DD4

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

Color values

HEX#BA5DD4
RGBrgb(186, 93, 212)
HSLhsl(287, 58%, 60%)
HSVhsv(287, 56%, 83%)
CMYKcmyk(12.3%, 56.1%, 0%, 16.9%)
CIE-LABlab(55.10, 55.47, -45.67)
CIE-LCHlch(55.10, 71.85, 320.54°)
OKLaboklab(63.64% 0.1433 -0.1272)
OKLCHoklch(63.64% 0.192 318.4)
XYZxyz(36.0461, 23.0227, 64.8197)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5DD4 #77D45D
analogous
#7F5DD4 #BA5DD4 #D45DB2
triadic
#BA5DD4 #D4BA5D #5DD4BA
tetradic
#BA5DD4 #D47F5D #77D45D #5DB2D4
square
#BA5DD4 #D47F5D #77D45D #5DB2D4
split-complementary
#BA5DD4 #B2D45D #5DD47F
monochromatic
#792690 #A233C1 #BA5DD4 #CF8DE1 #E3BEEE

Accessibility & contrast

On white

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

On black

5.60
#BA5DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5DD4
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5DD4#FFFFFF#000000##000000
##BA5DD41.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#427ED8
Deuteranopia (green-blind)
#6387D1
Tritanopia (blue-blind)
#BA7090
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba5dd4;
/* rgb */ color: rgb(186, 93, 212);
/* oklch */ color: oklch(63.6% 0.192 318.4);
Tailwind
colors: {
  custom: {
    50: '#d18fe2',
    500: '#ba5dd4',
    950: '#000000',
  },
}
SCSS
$custom: #ba5dd4;
$custom-light: #d18fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5dd4",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 212
  },
  "hsl": {
    "h": 286.891,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63635,
    "c": 0.19161,
    "h": 318.4
  },
  "luminance": 0.23021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA5DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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