#BA86DC#BA86DC

#BA86DC is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.3% C 0.133 H 311.1°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#BA86DC
RGBrgb(186, 134, 220)
HSLhsl(276, 55%, 69%)
HSVhsv(276, 39%, 86%)
CMYKcmyk(15.5%, 39.1%, 0%, 13.7%)
CIE-LABlab(63.88, 35.58, -36.36)
CIE-LCHlch(63.88, 50.87, 314.38°)
OKLaboklab(70.3% 0.0877 -0.1005)
OKLCHoklch(70.3% 0.133 311.1)
XYZxyz(41.6908, 32.6573, 71.8035)
Luminance0.3266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA86DC #A8DC86
analogous
#8F86DC #BA86DC #DC86D3
triadic
#BA86DC #DCBA86 #86DCBA
tetradic
#BA86DC #DC8F86 #A8DC86 #86D3DC
square
#BA86DC #DC8F86 #A8DC86 #86D3DC
split-complementary
#BA86DC #D3DC86 #86DC8F
monochromatic
#8134B4 #9F57CE #BA86DC #D5B5EA #F0E5F7

Accessibility & contrast

On white

2.79
#BA86DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#BA86DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA86DC
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA86DC#FFFFFF#000000##000000
##BA86DC1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DF
Deuteranopia (green-blind)
#829CDA
Tritanopia (blue-blind)
#B692A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba86dc;
/* rgb */ color: rgb(186, 134, 220);
/* oklch */ color: oklch(70.3% 0.133 311.1);
Tailwind
colors: {
  custom: {
    50: '#d0aae7',
    500: '#ba86dc',
    950: '#000000',
  },
}
SCSS
$custom: #ba86dc;
$custom-light: #d0aae7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba86dc",
  "rgb": {
    "r": 186,
    "g": 134,
    "b": 220
  },
  "hsl": {
    "h": 276.279,
    "s": 55.128,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70296,
    "c": 0.13338,
    "h": 311.1
  },
  "luminance": 0.32657
}

Semantic roles & 50–950 ramp

primary
#BA86DC
secondary
#DCEBD3
accent
#C32362
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BA86DC

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

Preview Lab → · Contrast checker → · Palette generator →

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