#BA6DCD#BA6DCD

#BA6DCD is a light, vivid purple. Relative luminance 0.258; OKLCH L 65.5% C 0.159 H 319.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#BA6DCD
RGBrgb(186, 109, 205)
HSLhsl(288, 49%, 62%)
HSVhsv(288, 47%, 80%)
CMYKcmyk(9.3%, 46.8%, 0%, 19.6%)
CIE-LABlab(57.83, 45.97, -37.38)
CIE-LCHlch(57.83, 59.25, 320.88°)
OKLaboklab(65.54% 0.1208 -0.1033)
OKLCHoklch(65.54% 0.159 319.5)
XYZxyz(36.7364, 25.7855, 60.7877)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6DCD #80CD6D
analogous
#8A6DCD #BA6DCD #CD6DB0
triadic
#BA6DCD #CDBA6D #6DCDBA
tetradic
#BA6DCD #CD8A6D #80CD6D #6DB0CD
square
#BA6DCD #CD8A6D #80CD6D #6DB0CD
split-complementary
#BA6DCD #B0CD6D #6DCD8A
monochromatic
#7C318F #A440BC #BA6DCD #D09BDD #E5C8EC

Accessibility & contrast

On white

3.41
#BA6DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#BA6DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6DCD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6DCD#FFFFFF#000000##000000
##BA6DCD1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D86D0
Deuteranopia (green-blind)
#738ECA
Tritanopia (blue-blind)
#BB7A93
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba6dcd;
/* rgb */ color: rgb(186, 109, 205);
/* oklch */ color: oklch(65.5% 0.159 319.5);
Tailwind
colors: {
  custom: {
    50: '#d099dc',
    500: '#ba6dcd',
    950: '#000000',
  },
}
SCSS
$custom: #ba6dcd;
$custom-light: #d099dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6dcd",
  "rgb": {
    "r": 186,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 288.125,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65543,
    "c": 0.15896,
    "h": 319.5
  },
  "luminance": 0.25784
}

Semantic roles & 50–950 ramp

primary
#BA6DCD
secondary
#C0DDB9
accent
#BC2946
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BA6DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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