#BA6CBB#BA6CBB

#BA6CBB is a light, vivid purple. Relative luminance 0.248; OKLCH L 64.5% C 0.142 H 326.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#BA6CBB
RGBrgb(186, 108, 187)
HSLhsl(299, 37%, 58%)
HSVhsv(299, 42%, 73%)
CMYKcmyk(0.5%, 42.2%, 0%, 26.7%)
CIE-LABlab(56.83, 43.00, -28.68)
CIE-LCHlch(56.83, 51.69, 326.30°)
OKLaboklab(64.54% 0.119 -0.0784)
OKLCHoklch(64.54% 0.142 326.6)
XYZxyz(34.5812, 24.7537, 49.9605)
Luminance0.2475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6CBB #6DBB6C
analogous
#936CBB #BA6CBB #BB6C94
triadic
#BA6CBB #BBBA6C #6CBBBA
tetradic
#BA6CBB #BB936C #6DBB6C #6C94BB
square
#BA6CBB #BB936C #6DBB6C #6C94BB
split-complementary
#BA6CBB #94BB6C #6CBB93
monochromatic
#753776 #9F4AA0 #BA6CBB #CE96CE #E1C0E2

Accessibility & contrast

On white

3.53
#BA6CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#BA6CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6CBB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6CBB#FFFFFF#000000##000000
##BA6CBB1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6582BE
Deuteranopia (green-blind)
#7A8CB8
Tritanopia (blue-blind)
#BE748B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba6cbb;
/* rgb */ color: rgb(186, 108, 187);
/* oklch */ color: oklch(64.5% 0.142 326.6);
Tailwind
colors: {
  custom: {
    50: '#d098cf',
    500: '#ba6cbb',
    950: '#000000',
  },
}
SCSS
$custom: #ba6cbb;
$custom-light: #d098cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6cbb",
  "rgb": {
    "r": 186,
    "g": 108,
    "b": 187
  },
  "hsl": {
    "h": 299.241,
    "s": 36.744,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64539,
    "c": 0.14247,
    "h": 326.6
  },
  "luminance": 0.24752
}

Semantic roles & 50–950 ramp

primary
#BA6CBB
secondary
#B2D1B2
accent
#CD5B5D
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82

Preview Lab

Preview with #BA6CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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