#BA86CB#BA86CB

#BA86CB is a light, moderate purple. Relative luminance 0.318; OKLCH L 69.5% C 0.113 H 317.6°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#BA86CB
RGBrgb(186, 134, 203)
HSLhsl(285, 40%, 66%)
HSVhsv(285, 34%, 80%)
CMYKcmyk(8.4%, 34%, 0%, 20.4%)
CIE-LABlab(63.18, 32.00, -27.95)
CIE-LCHlch(63.18, 42.49, 318.87°)
OKLaboklab(69.53% 0.0838 -0.0765)
OKLCHoklch(69.53% 0.113 317.6)
XYZxyz(39.5528, 31.8020, 60.5432)
Luminance0.3180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA86CB #97CB86
analogous
#9786CB #BA86CB #CB86B9
triadic
#BA86CB #CBBA86 #86CBBA
tetradic
#BA86CB #CB9786 #97CB86 #86B9CB
square
#BA86CB #CB9786 #97CB86 #86B9CB
split-complementary
#BA86CB #B9CB86 #86CB97
monochromatic
#814196 #A25BB9 #BA86CB #D2B1DD #EBDCF0

Accessibility & contrast

On white

2.85
#BA86CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#BA86CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA86CB
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA86CB#FFFFFF#000000##000000
##BA86CB1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96CE
Deuteranopia (green-blind)
#899BC9
Tritanopia (blue-blind)
#BA8E9F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba86cb;
/* rgb */ color: rgb(186, 134, 203);
/* oklch */ color: oklch(69.5% 0.113 317.6);
Tailwind
colors: {
  custom: {
    50: '#cfaadb',
    500: '#ba86cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba86cb;
$custom-light: #cfaadb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba86cb",
  "rgb": {
    "r": 186,
    "g": 134,
    "b": 203
  },
  "hsl": {
    "h": 285.217,
    "s": 39.884,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69533,
    "c": 0.11347,
    "h": 317.6
  },
  "luminance": 0.31801
}

Semantic roles & 50–950 ramp

primary
#BA86CB
secondary
#D1E2CB
accent
#B33352
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA86CB

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

Preview Lab → · Contrast checker → · Palette generator →

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