#BA8AED#BA8AED

#BA8AED is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.8% C 0.147 H 305.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#BA8AED
RGBrgb(186, 138, 237)
HSLhsl(269, 73%, 74%)
HSVhsv(269, 42%, 93%)
CMYKcmyk(21.5%, 41.8%, 0%, 7.1%)
CIE-LABlab(65.54, 37.14, -43.18)
CIE-LCHlch(65.54, 56.96, 310.70°)
OKLaboklab(71.79% 0.0852 -0.1202)
OKLCHoklch(71.79% 0.147 305.3)
XYZxyz(44.6211, 34.7307, 84.4573)
Luminance0.3473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8AED #BDED8A
analogous
#8A8BED #BA8AED #EB8AED
triadic
#BA8AED #EDBA8A #8AEDBA
tetradic
#BA8AED #ED8A8B #BDED8A #8AEDEB
square
#BA8AED #ED8A8B #BDED8A #8AEDEB
split-complementary
#BA8AED #EDEB8A #8BED8A
monochromatic
#7B22DB #9B55E5 #BA8AED #D9BFF5 #EFE4FB

Accessibility & contrast

On white

2.64
#BA8AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#BA8AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8AED
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8AED#FFFFFF#000000##000000
##BA8AED1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF1
Deuteranopia (green-blind)
#7D9FEA
Tritanopia (blue-blind)
#B29AB0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ba8aed;
/* rgb */ color: rgb(186, 138, 237);
/* oklch */ color: oklch(71.8% 0.147 305.3);
Tailwind
colors: {
  custom: {
    50: '#d0adf3',
    500: '#ba8aed',
    950: '#000000',
  },
}
SCSS
$custom: #ba8aed;
$custom-light: #d0adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8aed",
  "rgb": {
    "r": 186,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 269.091,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71793,
    "c": 0.14735,
    "h": 305.3
  },
  "luminance": 0.3473
}

Semantic roles & 50–950 ramp

primary
#BA8AED
secondary
#E6F3D8
accent
#D51076
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #BA8AED

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

Preview Lab → · Contrast checker → · Palette generator →

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