#BA8EBD#BA8EBD

#BA8EBD is a light, moderate purple. Relative luminance 0.335; OKLCH L 70.4% C 0.083 H 324.3°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#BA8EBD
RGBrgb(186, 142, 189)
HSLhsl(296, 26%, 65%)
HSVhsv(296, 25%, 74%)
CMYKcmyk(1.6%, 24.9%, 0%, 25.9%)
CIE-LABlab(64.53, 24.77, -18.01)
CIE-LCHlch(64.53, 30.62, 323.97°)
OKLaboklab(70.39% 0.0677 -0.0486)
OKLCHoklch(70.39% 0.083 324.3)
XYZxyz(39.1070, 33.4602, 52.5327)
Luminance0.3346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8EBD #91BD8E
analogous
#A28EBD #BA8EBD #BD8EA9
triadic
#BA8EBD #BDBA8E #8EBDBA
tetradic
#BA8EBD #BDA28E #91BD8E #8EA9BD
square
#BA8EBD #BDA28E #91BD8E #8EA9BD
split-complementary
#BA8EBD #A9BD8E #8EBDA2
monochromatic
#804D84 #A267A6 #BA8EBD #D2B5D4 #E9DBEA

Accessibility & contrast

On white

2.73
#BA8EBD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#BA8EBD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8EBD
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8EBD#FFFFFF#000000##000000
##BA8EBD1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A99BF
Deuteranopia (green-blind)
#949EBB
Tritanopia (blue-blind)
#BC929E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba8ebd;
/* rgb */ color: rgb(186, 142, 189);
/* oklch */ color: oklch(70.4% 0.083 324.3);
Tailwind
colors: {
  custom: {
    50: '#cfafd1',
    500: '#ba8ebd',
    950: '#000000',
  },
}
SCSS
$custom: #ba8ebd;
$custom-light: #cfafd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8ebd",
  "rgb": {
    "r": 186,
    "g": 142,
    "b": 189
  },
  "hsl": {
    "h": 296.17,
    "s": 26.257,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70393,
    "c": 0.08336,
    "h": 324.3
  },
  "luminance": 0.33459
}

Semantic roles & 50–950 ramp

primary
#BA8EBD
secondary
#CCDBCB
accent
#A54147
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141014
muted
#827F82

Preview Lab

Preview with #BA8EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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