#BA86CD#BA86CD

#BA86CD is a light, moderate purple. Relative luminance 0.319; OKLCH L 69.6% C 0.116 H 316.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#BA86CD
RGBrgb(186, 134, 205)
HSLhsl(284, 42%, 66%)
HSVhsv(284, 35%, 80%)
CMYKcmyk(9.3%, 34.6%, 0%, 19.6%)
CIE-LABlab(63.26, 32.41, -28.95)
CIE-LCHlch(63.26, 43.46, 318.24°)
OKLaboklab(69.62% 0.0843 -0.0793)
OKLCHoklch(69.62% 0.116 316.7)
XYZxyz(39.7926, 31.8980, 61.8065)
Luminance0.3190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA86CD #99CD86
analogous
#9786CD #BA86CD #CD86BD
triadic
#BA86CD #CDBA86 #86CDBA
tetradic
#BA86CD #CD9786 #99CD86 #86BDCD
square
#BA86CD #CD9786 #99CD86 #86BDCD
split-complementary
#BA86CD #BDCD86 #86CD97
monochromatic
#813F99 #A15BBB #BA86CD #D3B1DF #EBDDF1

Accessibility & contrast

On white

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

On black

7.38
#BA86CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA86CD
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA86CD#FFFFFF#000000##000000
##BA86CD1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C96D0
Deuteranopia (green-blind)
#889BCB
Tritanopia (blue-blind)
#BA8FA0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba86cd;
/* rgb */ color: rgb(186, 134, 205);
/* oklch */ color: oklch(69.6% 0.116 316.7);
Tailwind
colors: {
  custom: {
    50: '#cfaadc',
    500: '#ba86cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba86cd;
$custom-light: #cfaadc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba86cd",
  "rgb": {
    "r": 186,
    "g": 134,
    "b": 205
  },
  "hsl": {
    "h": 283.944,
    "s": 41.52,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69619,
    "c": 0.11576,
    "h": 316.7
  },
  "luminance": 0.31897
}

Semantic roles & 50–950 ramp

primary
#BA86CD
secondary
#D2E3CC
accent
#B53154
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA86CD

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

Preview Lab → · Contrast checker → · Palette generator →

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