#BA86CC#BA86CC

#BA86CC is a light, moderate purple. Relative luminance 0.318; OKLCH L 69.6% C 0.115 H 317.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#BA86CC
RGBrgb(186, 134, 204)
HSLhsl(285, 41%, 66%)
HSVhsv(285, 34%, 80%)
CMYKcmyk(8.8%, 34.3%, 0%, 20%)
CIE-LABlab(63.22, 32.21, -28.45)
CIE-LCHlch(63.22, 42.97, 318.55°)
OKLaboklab(69.58% 0.0841 -0.0779)
OKLCHoklch(69.58% 0.115 317.2)
XYZxyz(39.6723, 31.8499, 61.1728)
Luminance0.3185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA86CC #98CC86
analogous
#9786CC #BA86CC #CC86BB
triadic
#BA86CC #CCBA86 #86CCBA
tetradic
#BA86CC #CC9786 #98CC86 #86BBCC
square
#BA86CC #CC9786 #98CC86 #86BBCC
split-complementary
#BA86CC #BBCC86 #86CC97
monochromatic
#814098 #A15BBA #BA86CC #D3B1DE #EBDCF0

Accessibility & contrast

On white

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

On black

7.37
#BA86CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA86CC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA86CC#FFFFFF#000000##000000
##BA86CC1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C96CF
Deuteranopia (green-blind)
#889BCA
Tritanopia (blue-blind)
#BA8EA0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba86cc;
/* rgb */ color: rgb(186, 134, 204);
/* oklch */ color: oklch(69.6% 0.115 317.2);
Tailwind
colors: {
  custom: {
    50: '#cfaadb',
    500: '#ba86cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba86cc;
$custom-light: #cfaadb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba86cc",
  "rgb": {
    "r": 186,
    "g": 134,
    "b": 204
  },
  "hsl": {
    "h": 284.571,
    "s": 40.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69576,
    "c": 0.11461,
    "h": 317.2
  },
  "luminance": 0.31849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA86CC

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

Preview Lab → · Contrast checker → · Palette generator →

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