#BA6AE4#BA6AE4

#BA6AE4 is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.3% C 0.188 H 312.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#BA6AE4
RGBrgb(186, 106, 228)
HSLhsl(279, 69%, 65%)
HSVhsv(279, 54%, 89%)
CMYKcmyk(18.4%, 53.5%, 0%, 10.6%)
CIE-LABlab(58.37, 52.28, -49.50)
CIE-LCHlch(58.37, 71.99, 316.56°)
OKLaboklab(66.31% 0.1275 -0.1384)
OKLCHoklch(66.31% 0.188 312.6)
XYZxyz(39.4049, 26.3496, 76.3939)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6AE4 #94E46A
analogous
#7D6AE4 #BA6AE4 #E46AD1
triadic
#BA6AE4 #E4BA6A #6AE4BA
tetradic
#BA6AE4 #E47D6A #94E46A #6AD1E4
square
#BA6AE4 #E47D6A #94E46A #6AD1E4
split-complementary
#BA6AE4 #D1E46A #6AE47D
monochromatic
#8120B3 #A236DB #BA6AE4 #D29EED #EAD2F7

Accessibility & contrast

On white

3.35
#BA6AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#BA6AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6AE4
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6AE4#FFFFFF#000000##000000
##BA6AE41.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4988E8
Deuteranopia (green-blind)
#648EE1
Tritanopia (blue-blind)
#B67E9D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba6ae4;
/* rgb */ color: rgb(186, 106, 228);
/* oklch */ color: oklch(66.3% 0.188 312.6);
Tailwind
colors: {
  custom: {
    50: '#d197ed',
    500: '#ba6ae4',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ae4;
$custom-light: #d197ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ae4",
  "rgb": {
    "r": 186,
    "g": 106,
    "b": 228
  },
  "hsl": {
    "h": 279.344,
    "s": 69.318,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66307,
    "c": 0.18819,
    "h": 312.6
  },
  "luminance": 0.26349
}

Semantic roles & 50–950 ramp

primary
#BA6AE4
secondary
#CFE9C0
accent
#D11455
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA6AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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