#BA6ED1#BA6ED1

#BA6ED1 is a light, vivid purple. Relative luminance 0.262; OKLCH L 65.9% C 0.162 H 318.0°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#BA6ED1
RGBrgb(186, 110, 209)
HSLhsl(286, 52%, 63%)
HSVhsv(286, 47%, 82%)
CMYKcmyk(11%, 47.4%, 0%, 18%)
CIE-LABlab(58.22, 46.25, -39.04)
CIE-LCHlch(58.22, 60.52, 319.83°)
OKLaboklab(65.89% 0.12 -0.1081)
OKLCHoklch(65.89% 0.162 318)
XYZxyz(37.3327, 26.1957, 63.3989)
Luminance0.2619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6ED1 #85D16E
analogous
#896ED1 #BA6ED1 #D16EB6
triadic
#BA6ED1 #D1BA6E #6ED1BA
tetradic
#BA6ED1 #D1896E #85D16E #6EB6D1
square
#BA6ED1 #D1896E #85D16E #6EB6D1
split-complementary
#BA6ED1 #B6D16E #6ED189
monochromatic
#7E2F95 #A440C2 #BA6ED1 #D09CE0 #E6CBEE

Accessibility & contrast

On white

3.37
#BA6ED1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#BA6ED1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6ED1
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6ED1#FFFFFF#000000##000000
##BA6ED11.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D87D4
Deuteranopia (green-blind)
#728FCE
Tritanopia (blue-blind)
#BA7C96
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba6ed1;
/* rgb */ color: rgb(186, 110, 209);
/* oklch */ color: oklch(65.9% 0.162 318.0);
Tailwind
colors: {
  custom: {
    50: '#d19adf',
    500: '#ba6ed1',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ed1;
$custom-light: #d19adf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ed1",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 209
  },
  "hsl": {
    "h": 286.061,
    "s": 51.832,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65893,
    "c": 0.16151,
    "h": 318
  },
  "luminance": 0.26194
}

Semantic roles & 50–950 ramp

primary
#BA6ED1
secondary
#C4DFBB
accent
#BF264A
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BA6ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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