#BA6CCD#BA6CCD

#BA6CCD is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.4% C 0.161 H 319.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#BA6CCD
RGBrgb(186, 108, 205)
HSLhsl(288, 49%, 61%)
HSVhsv(288, 47%, 80%)
CMYKcmyk(9.3%, 47.3%, 0%, 19.6%)
CIE-LABlab(57.63, 46.49, -37.70)
CIE-LCHlch(57.63, 59.86, 320.96°)
OKLaboklab(65.39% 0.1222 -0.1042)
OKLCHoklch(65.39% 0.161 319.5)
XYZxyz(36.6303, 25.5733, 60.7524)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6CCD #7FCD6C
analogous
#8A6CCD #BA6CCD #CD6CB0
triadic
#BA6CCD #CDBA6C #6CCDBA
tetradic
#BA6CCD #CD8A6C #7FCD6C #6CB0CD
square
#BA6CCD #CD8A6C #7FCD6C #6CB0CD
split-complementary
#BA6CCD #B0CD6C #6CCD8A
monochromatic
#7C308E #A440BC #BA6CCD #CF9ADD #E5C7EC

Accessibility & contrast

On white

3.43
#BA6CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#BA6CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6CCD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6CCD#FFFFFF#000000##000000
##BA6CCD1.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#738DCA
Tritanopia (blue-blind)
#BB7993
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba6ccd;
/* rgb */ color: rgb(186, 108, 205);
/* oklch */ color: oklch(65.4% 0.161 319.5);
Tailwind
colors: {
  custom: {
    50: '#d098dc',
    500: '#ba6ccd',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ccd;
$custom-light: #d098dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ccd",
  "rgb": {
    "r": 186,
    "g": 108,
    "b": 205
  },
  "hsl": {
    "h": 288.247,
    "s": 49.239,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65392,
    "c": 0.16063,
    "h": 319.5
  },
  "luminance": 0.25572
}

Semantic roles & 50–950 ramp

primary
#BA6CCD
secondary
#BFDDB8
accent
#BD2946
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BA6CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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