#BA6CC2#BA6CC2

#BA6CC2 is a light, vivid purple. Relative luminance 0.251; OKLCH L 64.9% C 0.149 H 323.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#BA6CC2
RGBrgb(186, 108, 194)
HSLhsl(294, 41%, 59%)
HSVhsv(294, 44%, 76%)
CMYKcmyk(4.1%, 44.3%, 0%, 23.9%)
CIE-LABlab(57.13, 44.33, -32.22)
CIE-LCHlch(57.13, 54.80, 323.99°)
OKLaboklab(64.86% 0.1204 -0.0885)
OKLCHoklch(64.86% 0.149 323.7)
XYZxyz(35.3489, 25.0608, 54.0037)
Luminance0.2506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6CC2 #74C26C
analogous
#8F6CC2 #BA6CC2 #C26C9F
triadic
#BA6CC2 #C2BA6C #6CC2BA
tetradic
#BA6CC2 #C28F6C #74C26C #6C9FC2
square
#BA6CC2 #C28F6C #74C26C #6C9FC2
split-complementary
#BA6CC2 #9FC26C #6CC28F
monochromatic
#78357F #A147AA #BA6CC2 #CE97D4 #E3C3E6

Accessibility & contrast

On white

3.49
#BA6CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#BA6CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6CC2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6CC2#FFFFFF#000000##000000
##BA6CC21.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6283C5
Deuteranopia (green-blind)
#788CBF
Tritanopia (blue-blind)
#BD768E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba6cc2;
/* rgb */ color: rgb(186, 108, 194);
/* oklch */ color: oklch(64.9% 0.149 323.7);
Tailwind
colors: {
  custom: {
    50: '#d098d4',
    500: '#ba6cc2',
    950: '#000000',
  },
}
SCSS
$custom: #ba6cc2;
$custom-light: #d098d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6cc2",
  "rgb": {
    "r": 186,
    "g": 108,
    "b": 194
  },
  "hsl": {
    "h": 294.419,
    "s": 41.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64861,
    "c": 0.14939,
    "h": 323.7
  },
  "luminance": 0.25059
}

Semantic roles & 50–950 ramp

primary
#BA6CC2
secondary
#B7D6B4
accent
#D15762
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#140E14
muted
#837E83

Preview Lab

Preview with #BA6CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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