#BA86BF#BA86BF

#BA86BF is a light, moderate purple. Relative luminance 0.313; OKLCH L 69.0% C 0.100 H 323.6°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#BA86BF
RGBrgb(186, 134, 191)
HSLhsl(295, 31%, 64%)
HSVhsv(295, 30%, 75%)
CMYKcmyk(2.6%, 29.8%, 0%, 25.1%)
CIE-LABlab(62.72, 29.61, -21.90)
CIE-LCHlch(62.72, 36.83, 323.51°)
OKLaboklab(69.03% 0.0806 -0.0594)
OKLCHoklch(69.03% 0.1 323.6)
XYZxyz(38.1777, 31.2520, 53.3013)
Luminance0.3125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA86BF #8BBF86
analogous
#9D86BF #BA86BF #BF86A7
triadic
#BA86BF #BFBA86 #86BFBA
tetradic
#BA86BF #BF9D86 #8BBF86 #86A7BF
square
#BA86BF #BF9D86 #8BBF86 #86A7BF
split-complementary
#BA86BF #A7BF86 #86BF9D
monochromatic
#7F4685 #A35EAA #BA86BF #D1AED4 #E8D6E9

Accessibility & contrast

On white

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

On black

7.25
#BA86BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA86BF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA86BF#FFFFFF#000000##000000
##BA86BF1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8194C1
Deuteranopia (green-blind)
#8D9ABD
Tritanopia (blue-blind)
#BC8C9B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ba86bf;
/* rgb */ color: rgb(186, 134, 191);
/* oklch */ color: oklch(69.0% 0.100 323.6);
Tailwind
colors: {
  custom: {
    50: '#cfaad2',
    500: '#ba86bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba86bf;
$custom-light: #cfaad2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba86bf",
  "rgb": {
    "r": 186,
    "g": 134,
    "b": 191
  },
  "hsl": {
    "h": 294.737,
    "s": 30.811,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69032,
    "c": 0.10014,
    "h": 323.6
  },
  "luminance": 0.31251
}

Semantic roles & 50–950 ramp

primary
#BA86BF
secondary
#C8DAC6
accent
#AA3C46
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141014
muted
#827F82

Preview Lab

Preview with #BA86BF

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

Preview Lab → · Contrast checker → · Palette generator →

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