#BA6DFD#BA6DFD

#BA6DFD is a light, highly saturated violet. Relative luminance 0.285; OKLCH L 68.2% C 0.211 H 306.3°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#BA6DFD
RGBrgb(186, 109, 253)
HSLhsl(272, 97%, 71%)
HSVhsv(272, 57%, 99%)
CMYKcmyk(26.5%, 56.9%, 0%, 0.8%)
CIE-LABlab(60.31, 56.23, -60.29)
CIE-LCHlch(60.31, 82.44, 313.01°)
OKLaboklab(68.17% 0.1247 -0.17)
OKLCHoklch(68.17% 0.211 306.3)
XYZxyz(43.4442, 28.4686, 96.1158)
Luminance0.2847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6DFD #B0FD6D
analogous
#726DFD #BA6DFD #FD6DF8
triadic
#BA6DFD #FDBA6D #6DFDBA
tetradic
#BA6DFD #FD726D #B0FD6D #6DF8FD
square
#BA6DFD #FD726D #B0FD6D #6DF8FD
split-complementary
#BA6DFD #F8FD6D #6DFD72
monochromatic
#8003EC #9D31FC #BA6DFD #D7A9FE #F1E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA6DFD#FFFFFF#000000##000000
##BA6DFD1.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)
#348FFF
Deuteranopia (green-blind)
#5492FA
Tritanopia (blue-blind)
#AF89AB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba6dfd;
/* rgb */ color: rgb(186, 109, 253);
/* oklch */ color: oklch(68.2% 0.211 306.3);
Tailwind
colors: {
  custom: {
    50: '#d29aff',
    500: '#ba6dfd',
    950: '#000000',
  },
}
SCSS
$custom: #ba6dfd;
$custom-light: #d29aff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6dfd",
  "rgb": {
    "r": 186,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 272.083,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68174,
    "c": 0.21084,
    "h": 306.3
  },
  "luminance": 0.28468
}

Semantic roles & 50–950 ramp

primary
#BA6DFD
secondary
#E2F6D0
accent
#E6006B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #BA6DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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