#BA86EA#BA86EA

#BA86EA is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.0% C 0.150 H 306.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#BA86EA
RGBrgb(186, 134, 234)
HSLhsl(271, 70%, 72%)
HSVhsv(271, 43%, 92%)
CMYKcmyk(20.5%, 42.7%, 0%, 8.2%)
CIE-LABlab(64.51, 38.67, -43.14)
CIE-LCHlch(64.51, 57.93, 311.87°)
OKLaboklab(70.97% 0.0903 -0.1201)
OKLCHoklch(70.97% 0.15 306.9)
XYZxyz(43.6231, 33.4302, 81.9805)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA86EA #B6EA86
analogous
#8886EA #BA86EA #EA86E8
triadic
#BA86EA #EABA86 #86EABA
tetradic
#BA86EA #EA8886 #B6EA86 #86E8EA
square
#BA86EA #EA8886 #B6EA86 #86E8EA
split-complementary
#BA86EA #E8EA86 #86EA88
monochromatic
#7E24D1 #9C52E1 #BA86EA #D8BAF3 #F0E5FA

Accessibility & contrast

On white

2.73
#BA86EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#BA86EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA86EA
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA86EA#FFFFFF#000000##000000
##BA86EA1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9AEE
Deuteranopia (green-blind)
#7B9DE7
Tritanopia (blue-blind)
#B396AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba86ea;
/* rgb */ color: rgb(186, 134, 234);
/* oklch */ color: oklch(71.0% 0.150 306.9);
Tailwind
colors: {
  custom: {
    50: '#d0aaf1',
    500: '#ba86ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba86ea;
$custom-light: #d0aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba86ea",
  "rgb": {
    "r": 186,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 271.2,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70972,
    "c": 0.15023,
    "h": 306.9
  },
  "luminance": 0.3343
}

Semantic roles & 50–950 ramp

primary
#BA86EA
secondary
#E5F2D9
accent
#D2136F
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BA86EA

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

Preview Lab → · Contrast checker → · Palette generator →

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