#BA6CCF#BA6CCF

#BA6CCF is a light, vivid purple. Relative luminance 0.257; OKLCH L 65.5% C 0.163 H 318.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#BA6CCF
RGBrgb(186, 108, 207)
HSLhsl(287, 51%, 62%)
HSVhsv(287, 48%, 81%)
CMYKcmyk(10.1%, 47.8%, 0%, 18.8%)
CIE-LABlab(57.72, 46.89, -38.69)
CIE-LCHlch(57.72, 60.79, 320.48°)
OKLaboklab(65.49% 0.1225 -0.1071)
OKLCHoklch(65.49% 0.163 318.8)
XYZxyz(36.8733, 25.6705, 62.0319)
Luminance0.2567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6CCF #81CF6C
analogous
#896CCF #BA6CCF #CF6CB3
triadic
#BA6CCF #CFBA6C #6CCFBA
tetradic
#BA6CCF #CF896C #81CF6C #6CB3CF
square
#BA6CCF #CF896C #81CF6C #6CB3CF
split-complementary
#BA6CCF #B3CF6C #6CCF89
monochromatic
#7C2F91 #A43EBF #BA6CCF #D09ADE #E5C8ED

Accessibility & contrast

On white

3.42
#BA6CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#BA6CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6CCF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6CCF#FFFFFF#000000##000000
##BA6CCF1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B85D2
Deuteranopia (green-blind)
#728DCC
Tritanopia (blue-blind)
#BA7A94
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba6ccf;
/* rgb */ color: rgb(186, 108, 207);
/* oklch */ color: oklch(65.5% 0.163 318.8);
Tailwind
colors: {
  custom: {
    50: '#d198de',
    500: '#ba6ccf',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ccf;
$custom-light: #d198de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ccf",
  "rgb": {
    "r": 186,
    "g": 108,
    "b": 207
  },
  "hsl": {
    "h": 287.273,
    "s": 50.769,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65492,
    "c": 0.16272,
    "h": 318.8
  },
  "luminance": 0.25669
}

Semantic roles & 50–950 ramp

primary
#BA6CCF
secondary
#C1DEB9
accent
#BE2747
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BA6CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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