#BA6AEE#BA6AEE

#BA6AEE is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.9% C 0.199 H 310.1°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#BA6AEE
RGBrgb(186, 106, 238)
HSLhsl(276, 80%, 67%)
HSVhsv(276, 55%, 93%)
CMYKcmyk(21.8%, 55.5%, 0%, 6.7%)
CIE-LABlab(58.90, 54.43, -54.23)
CIE-LCHlch(58.90, 76.83, 315.11°)
OKLaboklab(66.87% 0.128 -0.1522)
OKLCHoklch(66.87% 0.199 310.1)
XYZxyz(40.8334, 26.9210, 83.9175)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6AEE #9EEE6A
analogous
#786AEE #BA6AEE #EE6AE0
triadic
#BA6AEE #EEBA6A #6AEEBA
tetradic
#BA6AEE #EE786A #9EEE6A #6AE0EE
square
#BA6AEE #EE786A #9EEE6A #6AE0EE
split-complementary
#BA6AEE #E0EE6A #6AEE78
monochromatic
#8117C7 #A133E8 #BA6AEE #D3A1F4 #EDD8FB

Accessibility & contrast

On white

3.29
#BA6AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#BA6AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6AEE
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6AEE#FFFFFF#000000##000000
##BA6AEE1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#408AF2
Deuteranopia (green-blind)
#5D8FEB
Tritanopia (blue-blind)
#B382A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba6aee;
/* rgb */ color: rgb(186, 106, 238);
/* oklch */ color: oklch(66.9% 0.199 310.1);
Tailwind
colors: {
  custom: {
    50: '#d298f4',
    500: '#ba6aee',
    950: '#000000',
  },
}
SCSS
$custom: #ba6aee;
$custom-light: #d298f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6aee",
  "rgb": {
    "r": 186,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 276.364,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66872,
    "c": 0.19893,
    "h": 310.1
  },
  "luminance": 0.2692
}

Semantic roles & 50–950 ramp

primary
#BA6AEE
secondary
#D6EFC5
accent
#DC0A5C
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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