#BA6ECC#BA6ECC

#BA6ECC is a light, vivid purple. Relative luminance 0.260; OKLCH L 65.6% C 0.156 H 319.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#BA6ECC
RGBrgb(186, 110, 204)
HSLhsl(289, 48%, 62%)
HSVhsv(289, 46%, 80%)
CMYKcmyk(8.8%, 46.1%, 0%, 20%)
CIE-LABlab(57.99, 45.24, -36.57)
CIE-LCHlch(57.99, 58.17, 321.05°)
OKLaboklab(65.65% 0.1192 -0.101)
OKLCHoklch(65.65% 0.156 319.7)
XYZxyz(36.7233, 25.9519, 60.1898)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6ECC #80CC6E
analogous
#8B6ECC #BA6ECC #CC6EAF
triadic
#BA6ECC #CCBA6E #6ECCBA
tetradic
#BA6ECC #CC8B6E #80CC6E #6EAFCC
square
#BA6ECC #CC8B6E #80CC6E #6EAFCC
split-complementary
#BA6ECC #AFCC6E #6ECC8B
monochromatic
#7C328E #A442BB #BA6ECC #D09BDC #E5C9EC

Accessibility & contrast

On white

3.39
#BA6ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#BA6ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6ECC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6ECC#FFFFFF#000000##000000
##BA6ECC1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#758EC9
Tritanopia (blue-blind)
#BB7A93
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba6ecc;
/* rgb */ color: rgb(186, 110, 204);
/* oklch */ color: oklch(65.6% 0.156 319.7);
Tailwind
colors: {
  custom: {
    50: '#d09adc',
    500: '#ba6ecc',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ecc;
$custom-light: #d09adc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ecc",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 204
  },
  "hsl": {
    "h": 288.511,
    "s": 47.959,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65646,
    "c": 0.15624,
    "h": 319.7
  },
  "luminance": 0.25951
}

Semantic roles & 50–950 ramp

primary
#BA6ECC
secondary
#C0DCB9
accent
#BB2A46
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BA6ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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