#BA6ECB#BA6ECB

#BA6ECB is a light, vivid purple. Relative luminance 0.259; OKLCH L 65.6% C 0.155 H 320.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#BA6ECB
RGBrgb(186, 110, 203)
HSLhsl(289, 47%, 61%)
HSVhsv(289, 46%, 80%)
CMYKcmyk(8.4%, 45.8%, 0%, 20.4%)
CIE-LABlab(57.95, 45.04, -36.07)
CIE-LCHlch(57.95, 57.71, 321.31°)
OKLaboklab(65.6% 0.1191 -0.0996)
OKLCHoklch(65.6% 0.155 320.1)
XYZxyz(36.6038, 25.9041, 59.5602)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6ECB #7FCB6E
analogous
#8C6ECB #BA6ECB #CB6EAE
triadic
#BA6ECB #CBBA6E #6ECBBA
tetradic
#BA6ECB #CB8C6E #7FCB6E #6EAECB
square
#BA6ECB #CB8C6E #7FCB6E #6EAECB
split-complementary
#BA6ECB #AECB6E #6ECB8C
monochromatic
#7C328C #A442B9 #BA6ECB #CF9BDB #E5C8EB

Accessibility & contrast

On white

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

On black

6.18
#BA6ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6ECB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6ECB#FFFFFF#000000##000000
##BA6ECB1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CE
Deuteranopia (green-blind)
#758EC8
Tritanopia (blue-blind)
#BB7A93
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba6ecb;
/* rgb */ color: rgb(186, 110, 203);
/* oklch */ color: oklch(65.6% 0.155 320.1);
Tailwind
colors: {
  custom: {
    50: '#d09adb',
    500: '#ba6ecb',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ecb;
$custom-light: #d09adb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ecb",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 203
  },
  "hsl": {
    "h": 289.032,
    "s": 47.208,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65597,
    "c": 0.1552,
    "h": 320.1
  },
  "luminance": 0.25903
}

Semantic roles & 50–950 ramp

primary
#BA6ECB
secondary
#BFDCB9
accent
#BA2B45
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BA6ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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