#BA6DF9#BA6DF9

#BA6DF9 is a light, highly saturated violet. Relative luminance 0.282; OKLCH L 67.9% C 0.206 H 307.1°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#BA6DF9
RGBrgb(186, 109, 249)
HSLhsl(273, 92%, 70%)
HSVhsv(273, 56%, 98%)
CMYKcmyk(25.3%, 56.2%, 0%, 2.4%)
CIE-LABlab(60.08, 55.33, -58.44)
CIE-LCHlch(60.08, 80.48, 313.44°)
OKLaboklab(67.94% 0.1247 -0.1646)
OKLCHoklch(67.94% 0.206 307.1)
XYZxyz(42.8137, 28.2164, 92.7950)
Luminance0.2822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6DF9 #ACF96D
analogous
#746DF9 #BA6DF9 #F96DF2
triadic
#BA6DF9 #F9BA6D #6DF9BA
tetradic
#BA6DF9 #F9746D #ACF96D #6DF2F9
square
#BA6DF9 #F9746D #ACF96D #6DF2F9
split-complementary
#BA6DF9 #F2F96D #6DF974
monochromatic
#8109E2 #9E32F7 #BA6DF9 #D6A8FB #F1E2FE

Accessibility & contrast

On white

3.16
#BA6DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#BA6DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6DF9
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6DF9#FFFFFF#000000##000000
##BA6DF91.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8EFE
Deuteranopia (green-blind)
#5791F6
Tritanopia (blue-blind)
#B087A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba6df9;
/* rgb */ color: rgb(186, 109, 249);
/* oklch */ color: oklch(67.9% 0.206 307.1);
Tailwind
colors: {
  custom: {
    50: '#d29afc',
    500: '#ba6df9',
    950: '#000000',
  },
}
SCSS
$custom: #ba6df9;
$custom-light: #d29afc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6df9",
  "rgb": {
    "r": 186,
    "g": 109,
    "b": 249
  },
  "hsl": {
    "h": 273,
    "s": 92.105,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67935,
    "c": 0.20646,
    "h": 307.1
  },
  "luminance": 0.28216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA6DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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