#BA5DDD#BA5DDD

#BA5DDD is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.1% C 0.201 H 315.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#BA5DDD
RGBrgb(186, 93, 221)
HSLhsl(284, 65%, 62%)
HSVhsv(284, 58%, 87%)
CMYKcmyk(15.8%, 57.9%, 0%, 13.3%)
CIE-LABlab(55.57, 57.28, -50.00)
CIE-LCHlch(55.57, 76.03, 318.88°)
OKLaboklab(64.14% 0.1438 -0.1398)
OKLCHoklch(64.14% 0.201 315.8)
XYZxyz(37.2132, 23.4895, 70.9663)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5DDD #80DD5D
analogous
#7A5DDD #BA5DDD #DD5DC0
triadic
#BA5DDD #DDBA5D #5DDDBA
tetradic
#BA5DDD #DD7A5D #80DD5D #5DC0DD
square
#BA5DDD #DD7A5D #80DD5D #5DC0DD
split-complementary
#BA5DDD #C0DD5D #5DDD7A
monochromatic
#7C219E #A42CD1 #BA5DDD #D090E8 #E5C2F2

Accessibility & contrast

On white

3.69
#BA5DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#BA5DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5DDD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5DDD#FFFFFF#000000##000000
##BA5DDD1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FE1
Deuteranopia (green-blind)
#5D88DA
Tritanopia (blue-blind)
#B87394
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba5ddd;
/* rgb */ color: rgb(186, 93, 221);
/* oklch */ color: oklch(64.1% 0.201 315.8);
Tailwind
colors: {
  custom: {
    50: '#d28fe8',
    500: '#ba5ddd',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ddd;
$custom-light: #d28fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ddd",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 221
  },
  "hsl": {
    "h": 283.594,
    "s": 65.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64138,
    "c": 0.20055,
    "h": 315.8
  },
  "luminance": 0.23488
}

Semantic roles & 50–950 ramp

primary
#BA5DDD
secondary
#C0E3B3
accent
#CD184A
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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