#BA6FCF#BA6FCF

#BA6FCF is a light, vivid purple. Relative luminance 0.263; OKLCH L 65.9% C 0.158 H 318.6°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#BA6FCF
RGBrgb(186, 111, 207)
HSLhsl(287, 50%, 62%)
HSVhsv(287, 46%, 81%)
CMYKcmyk(10.1%, 46.4%, 0%, 18.8%)
CIE-LABlab(58.33, 45.32, -37.73)
CIE-LCHlch(58.33, 58.97, 320.22°)
OKLaboklab(65.95% 0.1183 -0.1043)
OKLCHoklch(65.95% 0.158 318.6)
XYZxyz(37.1951, 26.3142, 62.1392)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6FCF #84CF6F
analogous
#8A6FCF #BA6FCF #CF6FB4
triadic
#BA6FCF #CFBA6F #6FCFBA
tetradic
#BA6FCF #CF8A6F #84CF6F #6FB4CF
square
#BA6FCF #CF8A6F #84CF6F #6FB4CF
split-complementary
#BA6FCF #B4CF6F #6FCF8A
monochromatic
#7D3193 #A441C0 #BA6FCF #D09DDE #E6CBEE

Accessibility & contrast

On white

3.35
#BA6FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#BA6FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6FCF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6FCF#FFFFFF#000000##000000
##BA6FCF1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F87D2
Deuteranopia (green-blind)
#748FCC
Tritanopia (blue-blind)
#BA7C95
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba6fcf;
/* rgb */ color: rgb(186, 111, 207);
/* oklch */ color: oklch(65.9% 0.158 318.6);
Tailwind
colors: {
  custom: {
    50: '#d09ade',
    500: '#ba6fcf',
    950: '#000000',
  },
}
SCSS
$custom: #ba6fcf;
$custom-light: #d09ade;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6fcf",
  "rgb": {
    "r": 186,
    "g": 111,
    "b": 207
  },
  "hsl": {
    "h": 286.875,
    "s": 50,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65946,
    "c": 0.15772,
    "h": 318.6
  },
  "luminance": 0.26313
}

Semantic roles & 50–950 ramp

primary
#BA6FCF
secondary
#C3DEBB
accent
#BD2849
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BA6FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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