#BA6FF7#BA6FF7

#BA6FF7 is a light, highly saturated violet. Relative luminance 0.285; OKLCH L 68.1% C 0.201 H 307.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#BA6FF7
RGBrgb(186, 111, 247)
HSLhsl(273, 89%, 70%)
HSVhsv(273, 55%, 97%)
CMYKcmyk(24.7%, 55.1%, 0%, 3.1%)
CIE-LABlab(60.36, 53.87, -56.90)
CIE-LCHlch(60.36, 78.35, 313.43°)
OKLaboklab(68.1% 0.1221 -0.1601)
OKLCHoklch(68.1% 0.201 307.3)
XYZxyz(42.7192, 28.5239, 91.2328)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6FF7 #ACF76F
analogous
#766FF7 #BA6FF7 #F76FF0
triadic
#BA6FF7 #F7BA6F #6FF7BA
tetradic
#BA6FF7 #F7766F #ACF76F #6FF0F7
square
#BA6FF7 #F7766F #ACF76F #6FF0F7
split-complementary
#BA6FF7 #F0F76F #6FF776
monochromatic
#810CDF #9E35F4 #BA6FF7 #D6A9FA #F1E2FD

Accessibility & contrast

On white

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

On black

6.70
#BA6FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6FF7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6FF7#FFFFFF#000000##000000
##BA6FF71.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFB
Deuteranopia (green-blind)
#5B92F4
Tritanopia (blue-blind)
#B188A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba6ff7;
/* rgb */ color: rgb(186, 111, 247);
/* oklch */ color: oklch(68.1% 0.201 307.3);
Tailwind
colors: {
  custom: {
    50: '#d29bfa',
    500: '#ba6ff7',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ff7;
$custom-light: #d29bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ff7",
  "rgb": {
    "r": 186,
    "g": 111,
    "b": 247
  },
  "hsl": {
    "h": 273.088,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68102,
    "c": 0.20133,
    "h": 307.3
  },
  "luminance": 0.28523
}

Semantic roles & 50–950 ramp

primary
#BA6FF7
secondary
#DFF4CE
accent
#E60067
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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