#BA6CB3#BA6CB3

#BA6CB3 is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.2% C 0.135 H 330.3°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BA6CB3
RGBrgb(186, 108, 179)
HSLhsl(305, 36%, 58%)
HSVhsv(305, 42%, 73%)
CMYKcmyk(0%, 41.9%, 3.8%, 27.1%)
CIE-LABlab(56.51, 41.53, -24.60)
CIE-LCHlch(56.51, 48.27, 329.36°)
OKLaboklab(64.19% 0.1172 -0.0668)
OKLCHoklch(64.19% 0.135 330.3)
XYZxyz(33.7485, 24.4206, 45.5751)
Luminance0.2442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6CB3 #6CBA73
analogous
#9A6CBA #BA6CB3 #BA6C8C
triadic
#BA6CB3 #B3BA6C #6CB3BA
tetradic
#BA6CB3 #BA9A6C #6CBA73 #6C8CBA
square
#BA6CB3 #BA9A6C #6CBA73 #6C8CBA
split-complementary
#BA6CB3 #8CBA6C #6CBA9A
monochromatic
#75376F #9E4A97 #BA6CB3 #CE96C9 #E1BFDE

Accessibility & contrast

On white

3.57
#BA6CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#BA6CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6CB3
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6CB3#FFFFFF#000000##000000
##BA6CB31.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6981B6
Deuteranopia (green-blind)
#7D8BB1
Tritanopia (blue-blind)
#C07287
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba6cb3;
/* rgb */ color: rgb(186, 108, 179);
/* oklch */ color: oklch(64.2% 0.135 330.3);
Tailwind
colors: {
  custom: {
    50: '#d098ca',
    500: '#ba6cb3',
    950: '#000000',
  },
}
SCSS
$custom: #ba6cb3;
$custom-light: #d098ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6cb3",
  "rgb": {
    "r": 186,
    "g": 108,
    "b": 179
  },
  "hsl": {
    "h": 305.385,
    "s": 36.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64186,
    "c": 0.13489,
    "h": 330.3
  },
  "luminance": 0.24419
}

Semantic roles & 50–950 ramp

primary
#BA6CB3
secondary
#B1D1B4
accent
#CC665C
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#140E13
muted
#827E82

Preview Lab

Preview with #BA6CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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