#BA6ABB#BA6ABB

#BA6ABB is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.2% C 0.146 H 326.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#BA6ABB
RGBrgb(186, 106, 187)
HSLhsl(299, 37%, 57%)
HSVhsv(299, 43%, 73%)
CMYKcmyk(0.5%, 43.3%, 0%, 26.7%)
CIE-LABlab(56.42, 44.06, -29.32)
CIE-LCHlch(56.42, 52.92, 326.36°)
OKLaboklab(64.23% 0.1219 -0.0802)
OKLCHoklch(64.23% 0.146 326.7)
XYZxyz(34.3727, 24.3367, 49.8910)
Luminance0.2434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6ABB #6BBB6A
analogous
#916ABB #BA6ABB #BB6A94
triadic
#BA6ABB #BBBA6A #6ABBBA
tetradic
#BA6ABB #BB916A #6BBB6A #6A94BB
square
#BA6ABB #BB916A #6BBB6A #6A94BB
split-complementary
#BA6ABB #94BB6A #6ABB91
monochromatic
#743575 #9E499F #BA6ABB #CD94CE #E1BEE1

Accessibility & contrast

On white

3.58
#BA6ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#BA6ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6ABB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6ABB#FFFFFF#000000##000000
##BA6ABB1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381BE
Deuteranopia (green-blind)
#798BB8
Tritanopia (blue-blind)
#BE728A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba6abb;
/* rgb */ color: rgb(186, 106, 187);
/* oklch */ color: oklch(64.2% 0.146 326.7);
Tailwind
colors: {
  custom: {
    50: '#d097cf',
    500: '#ba6abb',
    950: '#000000',
  },
}
SCSS
$custom: #ba6abb;
$custom-light: #d097cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6abb",
  "rgb": {
    "r": 186,
    "g": 106,
    "b": 187
  },
  "hsl": {
    "h": 299.259,
    "s": 37.327,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64232,
    "c": 0.14593,
    "h": 326.7
  },
  "luminance": 0.24335
}

Semantic roles & 50–950 ramp

primary
#BA6ABB
secondary
#B0D1B0
accent
#CD5B5C
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82

Preview Lab

Preview with #BA6ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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