#BA6EF9#BA6EF9

#BA6EF9 is a light, highly saturated violet. Relative luminance 0.284; OKLCH L 68.1% C 0.205 H 307.0°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#BA6EF9
RGBrgb(186, 110, 249)
HSLhsl(273, 92%, 70%)
HSVhsv(273, 56%, 98%)
CMYKcmyk(25.3%, 55.8%, 0%, 2.4%)
CIE-LABlab(60.28, 54.83, -58.13)
CIE-LCHlch(60.28, 79.91, 313.32°)
OKLaboklab(68.08% 0.1234 -0.1637)
OKLCHoklch(68.08% 0.205 307)
XYZxyz(42.9210, 28.4310, 92.8308)
Luminance0.2843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6EF9 #ADF96E
analogous
#746EF9 #BA6EF9 #F96EF2
triadic
#BA6EF9 #F9BA6E #6EF9BA
tetradic
#BA6EF9 #F9746E #ADF96E #6EF2F9
square
#BA6EF9 #F9746E #ADF96E #6EF2F9
split-complementary
#BA6EF9 #F2F96E #6EF974
monochromatic
#8009E3 #9E33F7 #BA6EF9 #D6A9FB #F1E2FE

Accessibility & contrast

On white

3.14
#BA6EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#BA6EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6EF9
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6EF9#FFFFFF#000000##000000
##BA6EF91.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8FFE
Deuteranopia (green-blind)
#5892F6
Tritanopia (blue-blind)
#B088A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba6ef9;
/* rgb */ color: rgb(186, 110, 249);
/* oklch */ color: oklch(68.1% 0.205 307.0);
Tailwind
colors: {
  custom: {
    50: '#d29afc',
    500: '#ba6ef9',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ef9;
$custom-light: #d29afc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ef9",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 249
  },
  "hsl": {
    "h": 272.806,
    "s": 92.053,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68077,
    "c": 0.205,
    "h": 307
  },
  "luminance": 0.28431
}

Semantic roles & 50–950 ramp

primary
#BA6EF9
secondary
#E0F4CE
accent
#E60068
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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