#BA6FF6#BA6FF6

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

Color values

HEX#BA6FF6
RGBrgb(186, 111, 246)
HSLhsl(273, 88%, 70%)
HSVhsv(273, 55%, 96%)
CMYKcmyk(24.4%, 54.9%, 0%, 3.5%)
CIE-LABlab(60.30, 53.64, -56.43)
CIE-LCHlch(60.30, 77.86, 313.55°)
OKLaboklab(68.04% 0.1221 -0.1587)
OKLCHoklch(68.04% 0.2 307.6)
XYZxyz(42.5653, 28.4623, 90.4223)
Luminance0.2846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6FF6 #ABF66F
analogous
#766FF6 #BA6FF6 #F66FEF
triadic
#BA6FF6 #F6BA6F #6FF6BA
tetradic
#BA6FF6 #F6766F #ABF66F #6FEFF6
square
#BA6FF6 #F6766F #ABF66F #6FEFF6
split-complementary
#BA6FF6 #EFF66F #6FF676
monochromatic
#810EDD #9E35F2 #BA6FF6 #D6A9FA #F1E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA6FF6#FFFFFF#000000##000000
##BA6FF61.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)
#418FFA
Deuteranopia (green-blind)
#5C92F3
Tritanopia (blue-blind)
#B188A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba6ff6;
/* rgb */ color: rgb(186, 111, 246);
/* oklch */ color: oklch(68.0% 0.200 307.6);
Tailwind
colors: {
  custom: {
    50: '#d29bfa',
    500: '#ba6ff6',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ff6;
$custom-light: #d29bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ff6",
  "rgb": {
    "r": 186,
    "g": 111,
    "b": 246
  },
  "hsl": {
    "h": 273.333,
    "s": 88.235,
    "l": 70
  },
  "oklch": {
    "l": 0.68044,
    "c": 0.20022,
    "h": 307.6
  },
  "luminance": 0.28462
}

Semantic roles & 50–950 ramp

primary
#BA6FF6
secondary
#DEF3CE
accent
#E50166
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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