#BA6FF8#BA6FF8

#BA6FF8 is a light, highly saturated violet. Relative luminance 0.286; OKLCH L 68.2% C 0.202 H 307.1°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#BA6FF8
RGBrgb(186, 111, 248)
HSLhsl(273, 91%, 70%)
HSVhsv(273, 55%, 97%)
CMYKcmyk(25%, 55.2%, 0%, 2.7%)
CIE-LABlab(60.41, 54.09, -57.36)
CIE-LCHlch(60.41, 78.84, 313.32°)
OKLaboklab(68.16% 0.1222 -0.1614)
OKLCHoklch(68.16% 0.202 307.1)
XYZxyz(42.8739, 28.5858, 92.0477)
Luminance0.2858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6FF8 #ADF86F
analogous
#766FF8 #BA6FF8 #F86FF1
triadic
#BA6FF8 #F8BA6F #6FF8BA
tetradic
#BA6FF8 #F8766F #ADF86F #6FF1F8
square
#BA6FF8 #F8766F #ADF86F #6FF1F8
split-complementary
#BA6FF8 #F1F86F #6FF876
monochromatic
#800BE2 #9E35F5 #BA6FF8 #D6A9FB #F1E2FE

Accessibility & contrast

On white

3.13
#BA6FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#BA6FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6FF8
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6FF8#FFFFFF#000000##000000
##BA6FF81.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8FFD
Deuteranopia (green-blind)
#5A92F5
Tritanopia (blue-blind)
#B088A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba6ff8;
/* rgb */ color: rgb(186, 111, 248);
/* oklch */ color: oklch(68.2% 0.202 307.1);
Tailwind
colors: {
  custom: {
    50: '#d29bfb',
    500: '#ba6ff8',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ff8;
$custom-light: #d29bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ff8",
  "rgb": {
    "r": 186,
    "g": 111,
    "b": 248
  },
  "hsl": {
    "h": 272.847,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6816,
    "c": 0.20243,
    "h": 307.1
  },
  "luminance": 0.28585
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA6FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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