#BA6BAF#BA6BAF

#BA6BAF is a light, vivid purple. Relative luminance 0.240; OKLCH L 63.9% C 0.133 H 332.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#BA6BAF
RGBrgb(186, 107, 175)
HSLhsl(308, 36%, 57%)
HSVhsv(308, 42%, 73%)
CMYKcmyk(0%, 42.5%, 5.9%, 27.1%)
CIE-LABlab(56.14, 41.34, -22.86)
CIE-LCHlch(56.14, 47.24, 331.07°)
OKLaboklab(63.86% 0.1177 -0.0619)
OKLCHoklch(63.86% 0.133 332.3)
XYZxyz(33.2450, 24.0514, 43.4404)
Luminance0.2405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6BAF #6BBA76
analogous
#9D6BBA #BA6BAF #BA6B88
triadic
#BA6BAF #AFBA6B #6BAFBA
tetradic
#BA6BAF #BA9D6B #6BBA76 #6B88BA
square
#BA6BAF #BA9D6B #6BBA76 #6B88BA
split-complementary
#BA6BAF #88BA6B #6BBA9D
monochromatic
#74366C #9E4A92 #BA6BAF #CD95C6 #E1BEDC

Accessibility & contrast

On white

3.61
#BA6BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#BA6BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6BAF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6BAF#FFFFFF#000000##000000
##BA6BAF1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6980B1
Deuteranopia (green-blind)
#7E8BAD
Tritanopia (blue-blind)
#C07085
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba6baf;
/* rgb */ color: rgb(186, 107, 175);
/* oklch */ color: oklch(63.9% 0.133 332.3);
Tailwind
colors: {
  custom: {
    50: '#d097c7',
    500: '#ba6baf',
    950: '#000000',
  },
}
SCSS
$custom: #ba6baf;
$custom-light: #d097c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6baf",
  "rgb": {
    "r": 186,
    "g": 107,
    "b": 175
  },
  "hsl": {
    "h": 308.354,
    "s": 36.406,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63858,
    "c": 0.13301,
    "h": 332.3
  },
  "luminance": 0.2405
}

Semantic roles & 50–950 ramp

primary
#BA6BAF
secondary
#B0D0B5
accent
#CC6B5B
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#140E13
muted
#827E82

Preview Lab

Preview with #BA6BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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