#BA8BCD#BA8BCD

#BA8BCD is a light, moderate purple. Relative luminance 0.333; OKLCH L 70.5% C 0.107 H 316.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#BA8BCD
RGBrgb(186, 139, 205)
HSLhsl(283, 40%, 67%)
HSVhsv(283, 32%, 80%)
CMYKcmyk(9.3%, 32.2%, 0%, 19.6%)
CIE-LABlab(64.41, 29.64, -27.16)
CIE-LCHlch(64.41, 40.20, 317.50°)
OKLaboklab(70.5% 0.0768 -0.0743)
OKLCHoklch(70.5% 0.107 316)
XYZxyz(40.5001, 33.3129, 62.0423)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8BCD #9ECD8B
analogous
#998BCD #BA8BCD #CD8BBF
triadic
#BA8BCD #CDBA8B #8BCDBA
tetradic
#BA8BCD #CD998B #9ECD8B #8BBFCD
square
#BA8BCD #CD998B #9ECD8B #8BBFCD
split-complementary
#BA8BCD #BFCD8B #8BCD99
monochromatic
#81439B #A160BB #BA8BCD #D3B6DF #EDE1F2

Accessibility & contrast

On white

2.74
#BA8BCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#BA8BCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8BCD
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8BCD#FFFFFF#000000##000000
##BA8BCD1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8299D0
Deuteranopia (green-blind)
#8C9ECB
Tritanopia (blue-blind)
#B993A3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba8bcd;
/* rgb */ color: rgb(186, 139, 205);
/* oklch */ color: oklch(70.5% 0.107 316.0);
Tailwind
colors: {
  custom: {
    50: '#cfaddc',
    500: '#ba8bcd',
    950: '#000000',
  },
}
SCSS
$custom: #ba8bcd;
$custom-light: #cfaddc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8bcd",
  "rgb": {
    "r": 186,
    "g": 139,
    "b": 205
  },
  "hsl": {
    "h": 282.727,
    "s": 39.759,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70497,
    "c": 0.10689,
    "h": 316
  },
  "luminance": 0.33312
}

Semantic roles & 50–950 ramp

primary
#BA8BCD
secondary
#D6E4D0
accent
#B33358
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA8BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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