#BA6ADA#BA6ADA

#BA6ADA is a light, vivid purple. Relative luminance 0.258; OKLCH L 65.8% C 0.178 H 315.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#BA6ADA
RGBrgb(186, 106, 218)
HSLhsl(283, 60%, 64%)
HSVhsv(283, 51%, 85%)
CMYKcmyk(14.7%, 51.4%, 0%, 14.5%)
CIE-LABlab(57.86, 50.18, -44.69)
CIE-LCHlch(57.86, 67.20, 318.31°)
OKLaboklab(65.76% 0.1266 -0.1244)
OKLCHoklch(65.76% 0.178 315.5)
XYZxyz(38.0567, 25.8103, 69.2932)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6ADA #8ADA6A
analogous
#826ADA #BA6ADA #DA6AC2
triadic
#BA6ADA #DABA6A #6ADABA
tetradic
#BA6ADA #DA826A #8ADA6A #6AC2DA
square
#BA6ADA #DA826A #8ADA6A #6AC2DA
split-complementary
#BA6ADA #C2DA6A #6ADA82
monochromatic
#7F28A1 #A339CE #BA6ADA #D19BE6 #E7CCF2

Accessibility & contrast

On white

3.41
#BA6ADA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#BA6ADA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6ADA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6ADA#FFFFFF#000000##000000
##BA6ADA1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5186DE
Deuteranopia (green-blind)
#6A8DD7
Tritanopia (blue-blind)
#B87B98
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba6ada;
/* rgb */ color: rgb(186, 106, 218);
/* oklch */ color: oklch(65.8% 0.178 315.5);
Tailwind
colors: {
  custom: {
    50: '#d197e6',
    500: '#ba6ada',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ada;
$custom-light: #d197e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ada",
  "rgb": {
    "r": 186,
    "g": 106,
    "b": 218
  },
  "hsl": {
    "h": 282.857,
    "s": 60.215,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65764,
    "c": 0.17754,
    "h": 315.5
  },
  "luminance": 0.25809
}

Semantic roles & 50–950 ramp

primary
#BA6ADA
secondary
#C7E4BC
accent
#C81E4E
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA6ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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