#BA6ECD#BA6ECD

#BA6ECD is a light, vivid purple. Relative luminance 0.260; OKLCH L 65.7% C 0.157 H 319.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#BA6ECD
RGBrgb(186, 110, 205)
HSLhsl(288, 49%, 62%)
HSVhsv(288, 46%, 80%)
CMYKcmyk(9.3%, 46.3%, 0%, 19.6%)
CIE-LABlab(58.04, 45.44, -37.07)
CIE-LCHlch(58.04, 58.64, 320.80°)
OKLaboklab(65.7% 0.1194 -0.1024)
OKLCHoklch(65.7% 0.157 319.4)
XYZxyz(36.8437, 26.0000, 60.8235)
Luminance0.2600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6ECD #81CD6E
analogous
#8B6ECD #BA6ECD #CD6EB1
triadic
#BA6ECD #CDBA6E #6ECDBA
tetradic
#BA6ECD #CD8B6E #81CD6E #6EB1CD
square
#BA6ECD #CD8B6E #81CD6E #6EB1CD
split-complementary
#BA6ECD #B1CD6E #6ECD8B
monochromatic
#7C318F #A441BD #BA6ECD #D09CDD #E5C9EC

Accessibility & contrast

On white

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

On black

6.20
#BA6ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6ECD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6ECD#FFFFFF#000000##000000
##BA6ECD1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86D0
Deuteranopia (green-blind)
#748ECA
Tritanopia (blue-blind)
#BB7B94
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba6ecd;
/* rgb */ color: rgb(186, 110, 205);
/* oklch */ color: oklch(65.7% 0.157 319.4);
Tailwind
colors: {
  custom: {
    50: '#d09adc',
    500: '#ba6ecd',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ecd;
$custom-light: #d09adc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ecd",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 205
  },
  "hsl": {
    "h": 288,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65695,
    "c": 0.15729,
    "h": 319.4
  },
  "luminance": 0.25999
}

Semantic roles & 50–950 ramp

primary
#BA6ECD
secondary
#C1DDBA
accent
#BC2947
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BA6ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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