#BA7BB3#BA7BB3

#BA7BB3 is a light, moderate purple. Relative luminance 0.279; OKLCH L 66.6% C 0.108 H 330.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#BA7BB3
RGBrgb(186, 123, 179)
HSLhsl(307, 31%, 61%)
HSVhsv(307, 34%, 73%)
CMYKcmyk(0%, 33.9%, 3.8%, 27.1%)
CIE-LABlab(59.76, 33.41, -19.61)
CIE-LCHlch(59.76, 38.74, 329.59°)
OKLaboklab(66.64% 0.0942 -0.0529)
OKLCHoklch(66.64% 0.108 330.7)
XYZxyz(35.4688, 27.8612, 46.1485)
Luminance0.2786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7BB3 #7BBA82
analogous
#A17BBA #BA7BB3 #BA7B93
triadic
#BA7BB3 #B3BA7B #7BB3BA
tetradic
#BA7BB3 #BAA17B #7BBA82 #7B93BA
square
#BA7BB3 #BAA17B #7BBA82 #7B93BA
split-complementary
#BA7BB3 #93BA7B #7BBAA1
monochromatic
#7B4074 #A3559A #BA7BB3 #CFA3CA #E4CBE1

Accessibility & contrast

On white

3.20
#BA7BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#BA7BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7BB3
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7BB3#FFFFFF#000000##000000
##BA7BB31.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#798BB5
Deuteranopia (green-blind)
#8893B1
Tritanopia (blue-blind)
#BF7F8F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba7bb3;
/* rgb */ color: rgb(186, 123, 179);
/* oklch */ color: oklch(66.6% 0.108 330.7);
Tailwind
colors: {
  custom: {
    50: '#d0a2c9',
    500: '#ba7bb3',
    950: '#000000',
  },
}
SCSS
$custom: #ba7bb3;
$custom-light: #d0a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7bb3",
  "rgb": {
    "r": 186,
    "g": 123,
    "b": 179
  },
  "hsl": {
    "h": 306.667,
    "s": 31.343,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66641,
    "c": 0.10803,
    "h": 330.7
  },
  "luminance": 0.2786
}

Semantic roles & 50–950 ramp

primary
#BA7BB3
secondary
#BCD4BF
accent
#AA483B
background
#FCFAFC
surface
#F9F3F8
border
#D2CDD1
text
#140F13
muted
#827F82

Preview Lab

Preview with #BA7BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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