#BA6FF3#BA6FF3

#BA6FF3 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.9% C 0.197 H 308.3°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#BA6FF3
RGBrgb(186, 111, 243)
HSLhsl(274, 85%, 69%)
HSVhsv(274, 54%, 95%)
CMYKcmyk(23.5%, 54.3%, 0%, 4.7%)
CIE-LABlab(60.14, 52.97, -55.03)
CIE-LCHlch(60.14, 76.39, 313.91°)
OKLaboklab(67.87% 0.1219 -0.1546)
OKLCHoklch(67.87% 0.197 308.3)
XYZxyz(42.1086, 28.2796, 88.0169)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6FF3 #A8F36F
analogous
#786FF3 #BA6FF3 #F36FEA
triadic
#BA6FF3 #F3BA6F #6FF3BA
tetradic
#BA6FF3 #F3786F #A8F36F #6FEAF3
square
#BA6FF3 #F3786F #A8F36F #6FEAF3
split-complementary
#BA6FF3 #EAF36F #6FF378
monochromatic
#8112D6 #9F37EE #BA6FF3 #D5A7F8 #F0E0FC

Accessibility & contrast

On white

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

On black

6.66
#BA6FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6FF3
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6FF3#FFFFFF#000000##000000
##BA6FF31.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#448EF7
Deuteranopia (green-blind)
#5E92F0
Tritanopia (blue-blind)
#B287A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba6ff3;
/* rgb */ color: rgb(186, 111, 243);
/* oklch */ color: oklch(67.9% 0.197 308.3);
Tailwind
colors: {
  custom: {
    50: '#d29bf8',
    500: '#ba6ff3',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ff3;
$custom-light: #d29bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ff3",
  "rgb": {
    "r": 186,
    "g": 111,
    "b": 243
  },
  "hsl": {
    "h": 274.091,
    "s": 84.615,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6787,
    "c": 0.19691,
    "h": 308.3
  },
  "luminance": 0.28279
}

Semantic roles & 50–950 ramp

primary
#BA6FF3
secondary
#DCF2CC
accent
#E10464
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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