#BA86CA#BA86CA

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

Color values

HEX#BA86CA
RGBrgb(186, 134, 202)
HSLhsl(286, 39%, 66%)
HSVhsv(286, 34%, 79%)
CMYKcmyk(7.9%, 33.7%, 0%, 20.8%)
CIE-LABlab(63.14, 31.80, -27.45)
CIE-LCHlch(63.14, 42.01, 319.20°)
OKLaboklab(69.49% 0.0836 -0.0751)
OKLCHoklch(69.49% 0.112 318.1)
XYZxyz(39.4340, 31.7545, 59.9176)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA86CA #96CA86
analogous
#9886CA #BA86CA #CA86B8
triadic
#BA86CA #CABA86 #86CABA
tetradic
#BA86CA #CA9886 #96CA86 #86B8CA
square
#BA86CA #CA9886 #96CA86 #86B8CA
split-complementary
#BA86CA #B8CA86 #86CA98
monochromatic
#814195 #A25BB7 #BA86CA #D2B1DD #EBDBEF

Accessibility & contrast

On white

2.86
#BA86CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#BA86CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA86CA
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA86CA#FFFFFF#000000##000000
##BA86CA1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba86ca;
/* rgb */ color: rgb(186, 134, 202);
/* oklch */ color: oklch(69.5% 0.112 318.1);
Tailwind
colors: {
  custom: {
    50: '#cfaada',
    500: '#ba86ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba86ca;
$custom-light: #cfaada;
$custom-dark: #000000;
JSON
{
  "hex": "#ba86ca",
  "rgb": {
    "r": 186,
    "g": 134,
    "b": 202
  },
  "hsl": {
    "h": 285.882,
    "s": 39.08,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6949,
    "c": 0.11233,
    "h": 318.1
  },
  "luminance": 0.31754
}

Semantic roles & 50–950 ramp

primary
#BA86CA
secondary
#D0E1CB
accent
#B23351
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#141015
muted
#827F83

Preview Lab

Preview with #BA86CA

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

Preview Lab → · Contrast checker → · Palette generator →

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