#BA86BD#BA86BD

#BA86BD is a light, moderate purple. Relative luminance 0.312; OKLCH L 69.0% C 0.098 H 324.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#BA86BD
RGBrgb(186, 134, 189)
HSLhsl(297, 29%, 63%)
HSVhsv(297, 29%, 74%)
CMYKcmyk(1.6%, 29.1%, 0%, 25.9%)
CIE-LABlab(62.65, 29.22, -20.88)
CIE-LCHlch(62.65, 35.91, 324.44°)
OKLaboklab(68.95% 0.08 -0.0566)
OKLCHoklch(68.95% 0.098 324.7)
XYZxyz(37.9591, 31.1646, 52.1500)
Luminance0.3116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA86BD #89BD86
analogous
#9E86BD #BA86BD #BD86A4
triadic
#BA86BD #BDBA86 #86BDBA
tetradic
#BA86BD #BD9E86 #89BD86 #86A4BD
square
#BA86BD #BD9E86 #89BD86 #86A4BD
split-complementary
#BA86BD #A4BD86 #86BD9E
monochromatic
#7F4782 #A35EA7 #BA86BD #D1AED3 #E7D5E8

Accessibility & contrast

On white

2.90
#BA86BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#BA86BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA86BD
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA86BD#FFFFFF#000000##000000
##BA86BD1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8294BF
Deuteranopia (green-blind)
#8E9ABB
Tritanopia (blue-blind)
#BD8B9A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ba86bd;
/* rgb */ color: rgb(186, 134, 189);
/* oklch */ color: oklch(69.0% 0.098 324.7);
Tailwind
colors: {
  custom: {
    50: '#cfaad1',
    500: '#ba86bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba86bd;
$custom-light: #cfaad1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba86bd",
  "rgb": {
    "r": 186,
    "g": 134,
    "b": 189
  },
  "hsl": {
    "h": 296.727,
    "s": 29.412,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68952,
    "c": 0.09801,
    "h": 324.7
  },
  "luminance": 0.31163
}

Semantic roles & 50–950 ramp

primary
#BA86BD
secondary
#C7D9C6
accent
#A83D43
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141014
muted
#827F82

Preview Lab

Preview with #BA86BD

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

Preview Lab → · Contrast checker → · Palette generator →

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