#BA6ECA#BA6ECA

#BA6ECA is a light, vivid purple. Relative luminance 0.259; OKLCH L 65.5% C 0.154 H 320.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#BA6ECA
RGBrgb(186, 110, 202)
HSLhsl(290, 46%, 61%)
HSVhsv(290, 46%, 79%)
CMYKcmyk(7.9%, 45.5%, 0%, 20.8%)
CIE-LABlab(57.90, 44.84, -35.58)
CIE-LCHlch(57.90, 57.24, 321.57°)
OKLaboklab(65.55% 0.1189 -0.0981)
OKLCHoklch(65.55% 0.154 320.5)
XYZxyz(36.4850, 25.8566, 58.9346)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6ECA #7ECA6E
analogous
#8C6ECA #BA6ECA #CA6EAC
triadic
#BA6ECA #CABA6E #6ECABA
tetradic
#BA6ECA #CA8C6E #7ECA6E #6EACCA
square
#BA6ECA #CA8C6E #7ECA6E #6EACCA
split-complementary
#BA6ECA #ACCA6E #6ECA8C
monochromatic
#7C338B #A343B8 #BA6ECA #CF9BDA #E5C8EB

Accessibility & contrast

On white

3.40
#BA6ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#BA6ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6ECA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6ECA#FFFFFF#000000##000000
##BA6ECA1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CD
Deuteranopia (green-blind)
#768EC7
Tritanopia (blue-blind)
#BB7A93
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba6eca;
/* rgb */ color: rgb(186, 110, 202);
/* oklch */ color: oklch(65.5% 0.154 320.5);
Tailwind
colors: {
  custom: {
    50: '#d09ada',
    500: '#ba6eca',
    950: '#000000',
  },
}
SCSS
$custom: #ba6eca;
$custom-light: #d09ada;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6eca",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 289.565,
    "s": 46.465,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65549,
    "c": 0.15416,
    "h": 320.5
  },
  "luminance": 0.25855
}

Semantic roles & 50–950 ramp

primary
#BA6ECA
secondary
#BFDBB9
accent
#BA2C44
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BA6ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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