#BA6ABA#BA6ABA

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

Color values

HEX#BA6ABA
RGBrgb(186, 106, 186)
HSLhsl(300, 37%, 57%)
HSVhsv(300, 43%, 73%)
CMYKcmyk(0%, 43%, 0%, 27.1%)
CIE-LABlab(56.38, 43.87, -28.81)
CIE-LCHlch(56.38, 52.49, 326.71°)
OKLaboklab(64.19% 0.1217 -0.0787)
OKLCHoklch(64.19% 0.145 327.1)
XYZxyz(34.2660, 24.2940, 49.3291)
Luminance0.2429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6ABA #6ABA6A
analogous
#926ABA #BA6ABA #BA6A92
triadic
#BA6ABA #BABA6A #6ABABA
tetradic
#BA6ABA #BA926A #6ABA6A #6A92BA
square
#BA6ABA #BA926A #6ABA6A #6A92BA
split-complementary
#BA6ABA #92BA6A #6ABA92
monochromatic
#743674 #9E499E #BA6ABA #CD94CD #E1BEE1

Accessibility & contrast

On white

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

On black

5.86
#BA6ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6ABA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6ABA#FFFFFF#000000##000000
##BA6ABA1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381BD
Deuteranopia (green-blind)
#798BB7
Tritanopia (blue-blind)
#BE7289
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba6aba;
/* rgb */ color: rgb(186, 106, 186);
/* oklch */ color: oklch(64.2% 0.145 327.1);
Tailwind
colors: {
  custom: {
    50: '#d097cf',
    500: '#ba6aba',
    950: '#000000',
  },
}
SCSS
$custom: #ba6aba;
$custom-light: #d097cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6aba",
  "rgb": {
    "r": 186,
    "g": 106,
    "b": 186
  },
  "hsl": {
    "h": 300,
    "s": 36.697,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64186,
    "c": 0.14497,
    "h": 327.1
  },
  "luminance": 0.24292
}

Semantic roles & 50–950 ramp

primary
#BA6ABA
secondary
#B0D0B0
accent
#CD5B5B
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E13
muted
#837E82

Preview Lab

Preview with #BA6ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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