#BA6BF9#BA6BF9

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

Color values

HEX#BA6BF9
RGBrgb(186, 107, 249)
HSLhsl(273, 92%, 70%)
HSVhsv(273, 57%, 98%)
CMYKcmyk(25.3%, 57%, 0%, 2.4%)
CIE-LABlab(59.70, 56.35, -59.05)
CIE-LCHlch(59.70, 81.62, 313.66°)
OKLaboklab(67.66% 0.1271 -0.1664)
OKLCHoklch(67.66% 0.209 307.4)
XYZxyz(42.6028, 27.7946, 92.7247)
Luminance0.2779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6BF9 #AAF96B
analogous
#736BF9 #BA6BF9 #F96BF1
triadic
#BA6BF9 #F9BA6B #6BF9BA
tetradic
#BA6BF9 #F9736B #AAF96B #6BF1F9
square
#BA6BF9 #F9736B #AAF96B #6BF1F9
split-complementary
#BA6BF9 #F1F96B #6BF973
monochromatic
#8109E0 #9F30F7 #BA6BF9 #D5A6FB #F1E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA6BF9#FFFFFF#000000##000000
##BA6BF91.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)
#358DFE
Deuteranopia (green-blind)
#5591F6
Tritanopia (blue-blind)
#B086A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba6bf9;
/* rgb */ color: rgb(186, 107, 249);
/* oklch */ color: oklch(67.7% 0.209 307.4);
Tailwind
colors: {
  custom: {
    50: '#d298fc',
    500: '#ba6bf9',
    950: '#000000',
  },
}
SCSS
$custom: #ba6bf9;
$custom-light: #d298fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6bf9",
  "rgb": {
    "r": 186,
    "g": 107,
    "b": 249
  },
  "hsl": {
    "h": 273.38,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67656,
    "c": 0.20936,
    "h": 307.4
  },
  "luminance": 0.27794
}

Semantic roles & 50–950 ramp

primary
#BA6BF9
secondary
#DEF4CC
accent
#E60066
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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