#BA86BC#BA86BC

#BA86BC is a light, moderate purple. Relative luminance 0.311; OKLCH L 68.9% C 0.097 H 325.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#BA86BC
RGBrgb(186, 134, 188)
HSLhsl(298, 29%, 63%)
HSVhsv(298, 29%, 74%)
CMYKcmyk(1.1%, 28.7%, 0%, 26.3%)
CIE-LABlab(62.61, 29.02, -20.37)
CIE-LCHlch(62.61, 35.46, 324.93°)
OKLaboklab(68.91% 0.0797 -0.0551)
OKLCHoklch(68.91% 0.097 325.3)
XYZxyz(37.8510, 31.1213, 51.5803)
Luminance0.3112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA86BC #88BC86
analogous
#9F86BC #BA86BC #BC86A3
triadic
#BA86BC #BCBA86 #86BCBA
tetradic
#BA86BC #BC9F86 #88BC86 #86A3BC
square
#BA86BC #BC9F86 #88BC86 #86A3BC
split-complementary
#BA86BC #A3BC86 #86BC9F
monochromatic
#7E4780 #A45FA6 #BA86BC #D0ADD2 #E7D5E8

Accessibility & contrast

On white

2.91
#BA86BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#BA86BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA86BC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA86BC#FFFFFF#000000##000000
##BA86BC1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8293BE
Deuteranopia (green-blind)
#8E9ABA
Tritanopia (blue-blind)
#BD8B99
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ba86bc;
/* rgb */ color: rgb(186, 134, 188);
/* oklch */ color: oklch(68.9% 0.097 325.3);
Tailwind
colors: {
  custom: {
    50: '#cfaad0',
    500: '#ba86bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba86bc;
$custom-light: #cfaad0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba86bc",
  "rgb": {
    "r": 186,
    "g": 134,
    "b": 188
  },
  "hsl": {
    "h": 297.778,
    "s": 28.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68912,
    "c": 0.09695,
    "h": 325.3
  },
  "luminance": 0.3112
}

Semantic roles & 50–950 ramp

primary
#BA86BC
secondary
#C6D9C5
accent
#A73E42
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141014
muted
#827F82

Preview Lab

Preview with #BA86BC

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

Preview Lab → · Contrast checker → · Palette generator →

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