#BA6FAC#BA6FAC

#BA6FAC is a light, vivid pink. Relative luminance 0.248; OKLCH L 64.4% C 0.123 H 334.1°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#BA6FAC
RGBrgb(186, 111, 172)
HSLhsl(311, 35%, 58%)
HSVhsv(311, 40%, 73%)
CMYKcmyk(0%, 40.3%, 7.5%, 27.1%)
CIE-LABlab(56.87, 38.68, -20.01)
CIE-LCHlch(56.87, 43.55, 332.65°)
OKLaboklab(64.37% 0.1109 -0.0539)
OKLCHoklch(64.37% 0.123 334.1)
XYZxyz(33.3803, 24.7883, 42.0481)
Luminance0.2479 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6FAC #6FBA7D
analogous
#A26FBA #BA6FAC #BA6F86
triadic
#BA6FAC #ACBA6F #6FACBA
tetradic
#BA6FAC #BAA26F #6FBA7D #6F86BA
square
#BA6FAC #BAA26F #6FBA7D #6F86BA
split-complementary
#BA6FAC #86BA6F #6FBAA2
monochromatic
#76396B #9F4C90 #BA6FAC #CE98C4 #E2C2DC

Accessibility & contrast

On white

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

On black

5.96
#BA6FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6FAC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6FAC#FFFFFF#000000##000000
##BA6FAC1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F82AE
Deuteranopia (green-blind)
#828CAA
Tritanopia (blue-blind)
#C17386
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba6fac;
/* rgb */ color: rgb(186, 111, 172);
/* oklch */ color: oklch(64.4% 0.123 334.1);
Tailwind
colors: {
  custom: {
    50: '#d09ac4',
    500: '#ba6fac',
    950: '#000000',
  },
}
SCSS
$custom: #ba6fac;
$custom-light: #d09ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6fac",
  "rgb": {
    "r": 186,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 311.2,
    "s": 35.211,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64368,
    "c": 0.12328,
    "h": 334.1
  },
  "luminance": 0.24787
}

Semantic roles & 50–950 ramp

primary
#BA6FAC
secondary
#B3D1B9
accent
#CB715D
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#140E12
muted
#827E81

Preview Lab

Preview with #BA6FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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