#BA86DF#BA86DF

#BA86DF is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.4% C 0.137 H 310.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#BA86DF
RGBrgb(186, 134, 223)
HSLhsl(275, 58%, 70%)
HSVhsv(275, 40%, 87%)
CMYKcmyk(16.6%, 39.9%, 0%, 12.5%)
CIE-LABlab(64.01, 36.23, -37.82)
CIE-LCHlch(64.01, 52.37, 313.77°)
OKLaboklab(70.44% 0.0883 -0.1047)
OKLCHoklch(70.44% 0.137 310.1)
XYZxyz(42.0917, 32.8176, 73.9148)
Luminance0.3282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA86DF #ABDF86
analogous
#8D86DF #BA86DF #DF86D8
triadic
#BA86DF #DFBA86 #86DFBA
tetradic
#BA86DF #DF8D86 #ABDF86 #86D8DF
square
#BA86DF #DF8D86 #ABDF86 #86D8DF
split-complementary
#BA86DF #D8DF86 #86DF8D
monochromatic
#8131BA #9E56D2 #BA86DF #D6B6EC #F1E7F9

Accessibility & contrast

On white

2.78
#BA86DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#BA86DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA86DF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA86DF#FFFFFF#000000##000000
##BA86DF1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7499E2
Deuteranopia (green-blind)
#809CDD
Tritanopia (blue-blind)
#B693A8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba86df;
/* rgb */ color: rgb(186, 134, 223);
/* oklch */ color: oklch(70.4% 0.137 310.1);
Tailwind
colors: {
  custom: {
    50: '#d0aae9',
    500: '#ba86df',
    950: '#000000',
  },
}
SCSS
$custom: #ba86df;
$custom-light: #d0aae9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba86df",
  "rgb": {
    "r": 186,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 275.056,
    "s": 58.17,
    "l": 70
  },
  "oklch": {
    "l": 0.70438,
    "c": 0.13697,
    "h": 310.1
  },
  "luminance": 0.32817
}

Semantic roles & 50–950 ramp

primary
#BA86DF
secondary
#DEEDD4
accent
#C62065
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BA86DF

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

Preview Lab → · Contrast checker → · Palette generator →

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