#BA6CF9#BA6CF9

#BA6CF9 is a light, highly saturated violet. Relative luminance 0.280; OKLCH L 67.8% C 0.208 H 307.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#BA6CF9
RGBrgb(186, 108, 249)
HSLhsl(273, 92%, 70%)
HSVhsv(273, 57%, 98%)
CMYKcmyk(25.3%, 56.6%, 0%, 2.4%)
CIE-LABlab(59.89, 55.84, -58.75)
CIE-LCHlch(59.89, 81.05, 313.55°)
OKLaboklab(67.8% 0.1259 -0.1655)
OKLCHoklch(67.8% 0.208 307.3)
XYZxyz(42.7076, 28.0043, 92.7597)
Luminance0.2800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6CF9 #ABF96C
analogous
#736CF9 #BA6CF9 #F96CF2
triadic
#BA6CF9 #F9BA6C #6CF9BA
tetradic
#BA6CF9 #F9736C #ABF96C #6CF2F9
square
#BA6CF9 #F9736C #ABF96C #6CF2F9
split-complementary
#BA6CF9 #F2F96C #6CF973
monochromatic
#8109E1 #9E31F7 #BA6CF9 #D6A7FB #F1E2FE

Accessibility & contrast

On white

3.18
#BA6CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#BA6CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6CF9
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6CF9#FFFFFF#000000##000000
##BA6CF91.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#378DFE
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#B087A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba6cf9;
/* rgb */ color: rgb(186, 108, 249);
/* oklch */ color: oklch(67.8% 0.208 307.3);
Tailwind
colors: {
  custom: {
    50: '#d299fc',
    500: '#ba6cf9',
    950: '#000000',
  },
}
SCSS
$custom: #ba6cf9;
$custom-light: #d299fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6cf9",
  "rgb": {
    "r": 186,
    "g": 108,
    "b": 249
  },
  "hsl": {
    "h": 273.191,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.67795,
    "c": 0.20791,
    "h": 307.3
  },
  "luminance": 0.28004
}

Semantic roles & 50–950 ramp

primary
#BA6CF9
secondary
#DEF4CD
accent
#E60067
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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