#BA7BBF#BA7BBF

#BA7BBF is a light, vivid purple. Relative luminance 0.284; OKLCH L 67.1% C 0.120 H 324.2°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#BA7BBF
RGBrgb(186, 123, 191)
HSLhsl(296, 35%, 62%)
HSVhsv(296, 36%, 75%)
CMYKcmyk(2.6%, 35.6%, 0%, 25.1%)
CIE-LABlab(60.22, 35.68, -25.74)
CIE-LCHlch(60.22, 43.99, 324.20°)
OKLaboklab(67.14% 0.0974 -0.0701)
OKLCHoklch(67.14% 0.12 324.2)
XYZxyz(36.7357, 28.3679, 52.8206)
Luminance0.2837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7BBF #80BF7B
analogous
#987BBF #BA7BBF #BF7BA2
triadic
#BA7BBF #BFBA7B #7BBFBA
tetradic
#BA7BBF #BF987B #80BF7B #7BA2BF
square
#BA7BBF #BF987B #80BF7B #7BA2BF
split-complementary
#BA7BBF #A2BF7B #7BBF98
monochromatic
#7C3F81 #A453AA #BA7BBF #D0A4D3 #E5CDE7

Accessibility & contrast

On white

3.15
#BA7BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#BA7BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7BBF
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7BBF#FFFFFF#000000##000000
##BA7BBF1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#758CC2
Deuteranopia (green-blind)
#8494BD
Tritanopia (blue-blind)
#BD8294
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba7bbf;
/* rgb */ color: rgb(186, 123, 191);
/* oklch */ color: oklch(67.1% 0.120 324.2);
Tailwind
colors: {
  custom: {
    50: '#d0a2d2',
    500: '#ba7bbf',
    950: '#000000',
  },
}
SCSS
$custom: #ba7bbf;
$custom-light: #d0a2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7bbf",
  "rgb": {
    "r": 186,
    "g": 123,
    "b": 191
  },
  "hsl": {
    "h": 295.588,
    "s": 34.694,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67136,
    "c": 0.12002,
    "h": 324.2
  },
  "luminance": 0.28367
}

Semantic roles & 50–950 ramp

primary
#BA7BBF
secondary
#C0D8BE
accent
#AE3841
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#140F14
muted
#827F82

Preview Lab

Preview with #BA7BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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