#BA6ACE#BA6ACE

#BA6ACE is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.1% C 0.165 H 319.4°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#BA6ACE
RGBrgb(186, 106, 206)
HSLhsl(288, 51%, 61%)
HSVhsv(288, 49%, 81%)
CMYKcmyk(9.7%, 48.5%, 0%, 19.2%)
CIE-LABlab(57.27, 47.73, -38.83)
CIE-LCHlch(57.27, 61.53, 320.88°)
OKLaboklab(65.14% 0.1252 -0.1075)
OKLCHoklch(65.14% 0.165 319.4)
XYZxyz(36.5429, 25.2048, 61.3206)
Luminance0.2520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6ACE #7ECE6A
analogous
#886ACE #BA6ACE #CE6AB0
triadic
#BA6ACE #CEBA6A #6ACEBA
tetradic
#BA6ACE #CE886A #7ECE6A #6AB0CE
square
#BA6ACE #CE886A #7ECE6A #6AB0CE
split-complementary
#BA6ACE #B0CE6A #6ACE88
monochromatic
#7C2F8F #A33EBD #BA6ACE #CF98DD #E5C6EC

Accessibility & contrast

On white

3.48
#BA6ACE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#BA6ACE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6ACE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6ACE#FFFFFF#000000##000000
##BA6ACE1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D1
Deuteranopia (green-blind)
#718CCB
Tritanopia (blue-blind)
#BB7892
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba6ace;
/* rgb */ color: rgb(186, 106, 206);
/* oklch */ color: oklch(65.1% 0.165 319.4);
Tailwind
colors: {
  custom: {
    50: '#d197dd',
    500: '#ba6ace',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ace;
$custom-light: #d197dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ace",
  "rgb": {
    "r": 186,
    "g": 106,
    "b": 206
  },
  "hsl": {
    "h": 288,
    "s": 50.505,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65144,
    "c": 0.16498,
    "h": 319.4
  },
  "luminance": 0.25203
}

Semantic roles & 50–950 ramp

primary
#BA6ACE
secondary
#BFDDB7
accent
#BE2846
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BA6ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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