#BA6FCD#BA6FCD

#BA6FCD is a light, vivid purple. Relative luminance 0.262; OKLCH L 65.8% C 0.156 H 319.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#BA6FCD
RGBrgb(186, 111, 205)
HSLhsl(288, 48%, 62%)
HSVhsv(288, 46%, 80%)
CMYKcmyk(9.3%, 45.9%, 0%, 19.6%)
CIE-LABlab(58.24, 44.91, -36.74)
CIE-LCHlch(58.24, 58.03, 320.71°)
OKLaboklab(65.85% 0.118 -0.1015)
OKLCHoklch(65.85% 0.156 319.3)
XYZxyz(36.9522, 26.2171, 60.8597)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6FCD #82CD6F
analogous
#8B6FCD #BA6FCD #CD6FB1
triadic
#BA6FCD #CDBA6F #6FCDBA
tetradic
#BA6FCD #CD8B6F #82CD6F #6FB1CD
square
#BA6FCD #CD8B6F #82CD6F #6FB1CD
split-complementary
#BA6FCD #B1CD6F #6FCD8B
monochromatic
#7D3290 #A442BD #BA6FCD #D09CDD #E6CAED

Accessibility & contrast

On white

3.36
#BA6FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#BA6FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6FCD
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6FCD#FFFFFF#000000##000000
##BA6FCD1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6087D0
Deuteranopia (green-blind)
#758FCA
Tritanopia (blue-blind)
#BB7B94
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba6fcd;
/* rgb */ color: rgb(186, 111, 205);
/* oklch */ color: oklch(65.8% 0.156 319.3);
Tailwind
colors: {
  custom: {
    50: '#d09adc',
    500: '#ba6fcd',
    950: '#000000',
  },
}
SCSS
$custom: #ba6fcd;
$custom-light: #d09adc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6fcd",
  "rgb": {
    "r": 186,
    "g": 111,
    "b": 205
  },
  "hsl": {
    "h": 287.872,
    "s": 48.454,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65848,
    "c": 0.15562,
    "h": 319.3
  },
  "luminance": 0.26216
}

Semantic roles & 50–950 ramp

primary
#BA6FCD
secondary
#C2DDBB
accent
#BC2A47
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BA6FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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