#BA86ED#BA86ED

#BA86ED is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.1% C 0.154 H 306.1°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#BA86ED
RGBrgb(186, 134, 237)
HSLhsl(270, 74%, 73%)
HSVhsv(270, 43%, 93%)
CMYKcmyk(21.5%, 43.5%, 0%, 7.1%)
CIE-LABlab(64.65, 39.34, -44.58)
CIE-LCHlch(64.65, 59.46, 311.43°)
OKLaboklab(71.12% 0.0908 -0.1243)
OKLCHoklch(71.12% 0.154 306.1)
XYZxyz(44.0578, 33.6040, 84.2696)
Luminance0.3360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA86ED #B9ED86
analogous
#8686ED #BA86ED #ED86ED
triadic
#BA86ED #EDBA86 #86EDBA
tetradic
#BA86ED #ED8686 #B9ED86 #86EDED
square
#BA86ED #ED8686 #B9ED86 #86EDED
split-complementary
#BA86ED #EDED86 #86ED86
monochromatic
#7D20D8 #9C51E5 #BA86ED #D8BBF5 #F0E4FB

Accessibility & contrast

On white

2.72
#BA86ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#BA86ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA86ED
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA86ED#FFFFFF#000000##000000
##BA86ED1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF1
Deuteranopia (green-blind)
#799DEA
Tritanopia (blue-blind)
#B297AE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ba86ed;
/* rgb */ color: rgb(186, 134, 237);
/* oklch */ color: oklch(71.1% 0.154 306.1);
Tailwind
colors: {
  custom: {
    50: '#d0aaf3',
    500: '#ba86ed',
    950: '#000000',
  },
}
SCSS
$custom: #ba86ed;
$custom-light: #d0aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba86ed",
  "rgb": {
    "r": 186,
    "g": 134,
    "b": 237
  },
  "hsl": {
    "h": 270.291,
    "s": 74.101,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71123,
    "c": 0.15387,
    "h": 306.1
  },
  "luminance": 0.33604
}

Semantic roles & 50–950 ramp

primary
#BA86ED
secondary
#E5F3D8
accent
#D60F72
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BA86ED

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

Preview Lab → · Contrast checker → · Palette generator →

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