#BA6AAF#BA6AAF

#BA6AAF is a light, vivid purple. Relative luminance 0.238; OKLCH L 63.7% C 0.135 H 332.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#BA6AAF
RGBrgb(186, 106, 175)
HSLhsl(308, 37%, 57%)
HSVhsv(308, 43%, 73%)
CMYKcmyk(0%, 43%, 5.9%, 27.1%)
CIE-LABlab(55.93, 41.87, -23.18)
CIE-LCHlch(55.93, 47.86, 331.04°)
OKLaboklab(63.7% 0.1193 -0.0628)
OKLCHoklch(63.7% 0.135 332.2)
XYZxyz(33.1413, 23.8441, 43.4059)
Luminance0.2384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6AAF #6ABA75
analogous
#9D6ABA #BA6AAF #BA6A87
triadic
#BA6AAF #AFBA6A #6AAFBA
tetradic
#BA6AAF #BA9D6A #6ABA75 #6A87BA
square
#BA6AAF #BA9D6A #6ABA75 #6A87BA
split-complementary
#BA6AAF #87BA6A #6ABA9D
monochromatic
#74366B #9E4992 #BA6AAF #CD94C5 #E1BEDC

Accessibility & contrast

On white

3.64
#BA6AAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#BA6AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6AAF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6AAF#FFFFFF#000000##000000
##BA6AAF1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#687FB1
Deuteranopia (green-blind)
#7D8AAD
Tritanopia (blue-blind)
#C06F84
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba6aaf;
/* rgb */ color: rgb(186, 106, 175);
/* oklch */ color: oklch(63.7% 0.135 332.2);
Tailwind
colors: {
  custom: {
    50: '#d097c7',
    500: '#ba6aaf',
    950: '#000000',
  },
}
SCSS
$custom: #ba6aaf;
$custom-light: #d097c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6aaf",
  "rgb": {
    "r": 186,
    "g": 106,
    "b": 175
  },
  "hsl": {
    "h": 308.25,
    "s": 36.697,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63702,
    "c": 0.13477,
    "h": 332.2
  },
  "luminance": 0.23842
}

Semantic roles & 50–950 ramp

primary
#BA6AAF
secondary
#B0D0B4
accent
#CD6B5B
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E13
muted
#837E82

Preview Lab

Preview with #BA6AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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