#BA6CF6#BA6CF6

#BA6CF6 is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.6% C 0.205 H 307.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#BA6CF6
RGBrgb(186, 108, 246)
HSLhsl(274, 88%, 69%)
HSVhsv(274, 56%, 96%)
CMYKcmyk(24.4%, 56.1%, 0%, 3.5%)
CIE-LABlab(59.72, 55.17, -57.36)
CIE-LCHlch(59.72, 79.59, 313.89°)
OKLaboklab(67.62% 0.1258 -0.1614)
OKLCHoklch(67.62% 0.205 307.9)
XYZxyz(42.2435, 27.8186, 90.3150)
Luminance0.2782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6CF6 #A8F66C
analogous
#756CF6 #BA6CF6 #F66CED
triadic
#BA6CF6 #F6BA6C #6CF6BA
tetradic
#BA6CF6 #F6756C #A8F66C #6CEDF6
square
#BA6CF6 #F6756C #A8F66C #6CEDF6
split-complementary
#BA6CF6 #EDF66C #6CF675
monochromatic
#810DDA #9F32F2 #BA6CF6 #D5A6FA #F0DFFD

Accessibility & contrast

On white

3.20
#BA6CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#BA6CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6CF6
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6CF6#FFFFFF#000000##000000
##BA6CF61.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8DFB
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#B186A7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba6cf6;
/* rgb */ color: rgb(186, 108, 246);
/* oklch */ color: oklch(67.6% 0.205 307.9);
Tailwind
colors: {
  custom: {
    50: '#d299fa',
    500: '#ba6cf6',
    950: '#000000',
  },
}
SCSS
$custom: #ba6cf6;
$custom-light: #d299fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6cf6",
  "rgb": {
    "r": 186,
    "g": 108,
    "b": 246
  },
  "hsl": {
    "h": 273.913,
    "s": 88.462,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67618,
    "c": 0.20465,
    "h": 307.9
  },
  "luminance": 0.27818
}

Semantic roles & 50–950 ramp

primary
#BA6CF6
secondary
#DCF3CB
accent
#E50064
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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