#BA7BBD#BA7BBD

#BA7BBD is a light, moderate purple. Relative luminance 0.283; OKLCH L 67.1% C 0.118 H 325.2°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#BA7BBD
RGBrgb(186, 123, 189)
HSLhsl(297, 33%, 61%)
HSVhsv(297, 35%, 74%)
CMYKcmyk(1.6%, 34.9%, 0%, 25.9%)
CIE-LABlab(60.14, 35.29, -24.72)
CIE-LCHlch(60.14, 43.09, 324.99°)
OKLaboklab(67.05% 0.0969 -0.0673)
OKLCHoklch(67.05% 0.118 325.2)
XYZxyz(36.5171, 28.2805, 51.6694)
Luminance0.2828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7BBD #7EBD7B
analogous
#997BBD #BA7BBD #BD7B9F
triadic
#BA7BBD #BDBA7B #7BBDBA
tetradic
#BA7BBD #BD997B #7EBD7B #7B9FBD
square
#BA7BBD #BD997B #7EBD7B #7B9FBD
split-complementary
#BA7BBD #9FBD7B #7BBD99
monochromatic
#7C3F7E #A354A7 #BA7BBD #CFA4D1 #E5CDE6

Accessibility & contrast

On white

3.16
#BA7BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#BA7BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7BBD
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7BBD#FFFFFF#000000##000000
##BA7BBD1.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#758CBF
Deuteranopia (green-blind)
#8594BB
Tritanopia (blue-blind)
#BD8193
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba7bbd;
/* rgb */ color: rgb(186, 123, 189);
/* oklch */ color: oklch(67.1% 0.118 325.2);
Tailwind
colors: {
  custom: {
    50: '#d0a2d1',
    500: '#ba7bbd',
    950: '#000000',
  },
}
SCSS
$custom: #ba7bbd;
$custom-light: #d0a2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7bbd",
  "rgb": {
    "r": 186,
    "g": 123,
    "b": 189
  },
  "hsl": {
    "h": 297.273,
    "s": 33.333,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67051,
    "c": 0.11795,
    "h": 325.2
  },
  "luminance": 0.28279
}

Semantic roles & 50–950 ramp

primary
#BA7BBD
secondary
#BFD6BE
accent
#AC393F
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#140F14
muted
#827F82

Preview Lab

Preview with #BA7BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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