#BA86CF#BA86CF

#BA86CF is a light, moderate purple. Relative luminance 0.320; OKLCH L 69.7% C 0.118 H 315.9°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#BA86CF
RGBrgb(186, 134, 207)
HSLhsl(283, 43%, 67%)
HSVhsv(283, 35%, 81%)
CMYKcmyk(10.1%, 35.3%, 0%, 18.8%)
CIE-LABlab(63.34, 32.83, -29.94)
CIE-LCHlch(63.34, 44.43, 317.63°)
OKLaboklab(69.71% 0.0848 -0.0822)
OKLCHoklch(69.71% 0.118 315.9)
XYZxyz(40.0356, 31.9952, 63.0861)
Luminance0.3199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA86CF #9BCF86
analogous
#9686CF #BA86CF #CF86C0
triadic
#BA86CF #CFBA86 #86CFBA
tetradic
#BA86CF #CF9686 #9BCF86 #86C0CF
square
#BA86CF #CF9686 #9BCF86 #86C0CF
split-complementary
#BA86CF #C0CF86 #86CF96
monochromatic
#813E9D #A15ABE #BA86CF #D3B2E0 #ECDEF2

Accessibility & contrast

On white

2.84
#BA86CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#BA86CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA86CF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA86CF#FFFFFF#000000##000000
##BA86CF1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B96D2
Deuteranopia (green-blind)
#879BCD
Tritanopia (blue-blind)
#B98FA1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba86cf;
/* rgb */ color: rgb(186, 134, 207);
/* oklch */ color: oklch(69.7% 0.118 315.9);
Tailwind
colors: {
  custom: {
    50: '#cfaade',
    500: '#ba86cf',
    950: '#000000',
  },
}
SCSS
$custom: #ba86cf;
$custom-light: #cfaade;
$custom-dark: #000000;
JSON
{
  "hex": "#ba86cf",
  "rgb": {
    "r": 186,
    "g": 134,
    "b": 207
  },
  "hsl": {
    "h": 282.74,
    "s": 43.195,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69707,
    "c": 0.11807,
    "h": 315.9
  },
  "luminance": 0.31994
}

Semantic roles & 50–950 ramp

primary
#BA86CF
secondary
#D3E4CD
accent
#B62F56
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA86CF

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

Preview Lab → · Contrast checker → · Palette generator →

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