#BA5ADA#BA5ADA

#BA5ADA is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.6% C 0.202 H 316.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#BA5ADA
RGBrgb(186, 90, 218)
HSLhsl(285, 63%, 60%)
HSVhsv(285, 59%, 85%)
CMYKcmyk(14.7%, 58.7%, 0%, 14.5%)
CIE-LABlab(54.88, 58.10, -49.41)
CIE-LCHlch(54.88, 76.27, 319.62°)
OKLaboklab(63.58% 0.1474 -0.1381)
OKLCHoklch(63.58% 0.202 316.9)
XYZxyz(36.5589, 22.8147, 68.7940)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5ADA #7ADA5A
analogous
#7A5ADA #BA5ADA #DA5ABA
triadic
#BA5ADA #DABA5A #5ADABA
tetradic
#BA5ADA #DA7A5A #7ADA5A #5ABADA
square
#BA5ADA #DA7A5A #7ADA5A #5ABADA
split-complementary
#BA5ADA #BADA5A #5ADA7A
monochromatic
#7A2298 #A22DCA #BA5ADA #CF8CE5 #E4BEF0

Accessibility & contrast

On white

3.78
#BA5ADA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#BA5ADA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5ADA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5ADA#FFFFFF#000000##000000
##BA5ADA1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#377DDE
Deuteranopia (green-blind)
#5D86D7
Tritanopia (blue-blind)
#B96F92
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba5ada;
/* rgb */ color: rgb(186, 90, 218);
/* oklch */ color: oklch(63.6% 0.202 316.9);
Tailwind
colors: {
  custom: {
    50: '#d28de6',
    500: '#ba5ada',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ada;
$custom-light: #d28de6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ada",
  "rgb": {
    "r": 186,
    "g": 90,
    "b": 218
  },
  "hsl": {
    "h": 285,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63581,
    "c": 0.20196,
    "h": 316.9
  },
  "luminance": 0.22813
}

Semantic roles & 50–950 ramp

primary
#BA5ADA
secondary
#BCE0AF
accent
#CB1A47
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140D16
muted
#837D84

Preview Lab

Preview with #BA5ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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