#BA6FFA#BA6FFA

#BA6FFA is a light, highly saturated violet. Relative luminance 0.287; OKLCH L 68.3% C 0.205 H 306.7°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#BA6FFA
RGBrgb(186, 111, 250)
HSLhsl(272, 93%, 71%)
HSVhsv(272, 56%, 98%)
CMYKcmyk(25.6%, 55.6%, 0%, 2%)
CIE-LABlab(60.53, 54.54, -58.29)
CIE-LCHlch(60.53, 79.82, 313.10°)
OKLaboklab(68.28% 0.1222 -0.1641)
OKLCHoklch(68.28% 0.205 306.7)
XYZxyz(43.1859, 28.7105, 93.6906)
Luminance0.2871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6FFA #AFFA6F
analogous
#746FFA #BA6FFA #FA6FF5
triadic
#BA6FFA #FABA6F #6FFABA
tetradic
#BA6FFA #FA746F #AFFA6F #6FF5FA
square
#BA6FFA #FA746F #AFFA6F #6FF5FA
split-complementary
#BA6FFA #F5FA6F #6FFA74
monochromatic
#8008E7 #9E34F8 #BA6FFA #D6AAFC #F1E1FE

Accessibility & contrast

On white

3.11
#BA6FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#BA6FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6FFA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6FFA#FFFFFF#000000##000000
##BA6FFA1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8FFF
Deuteranopia (green-blind)
#5993F7
Tritanopia (blue-blind)
#B089AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba6ffa;
/* rgb */ color: rgb(186, 111, 250);
/* oklch */ color: oklch(68.3% 0.205 306.7);
Tailwind
colors: {
  custom: {
    50: '#d29bfd',
    500: '#ba6ffa',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ffa;
$custom-light: #d29bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ffa",
  "rgb": {
    "r": 186,
    "g": 111,
    "b": 250
  },
  "hsl": {
    "h": 272.374,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68277,
    "c": 0.20464,
    "h": 306.7
  },
  "luminance": 0.2871
}

Semantic roles & 50–950 ramp

primary
#BA6FFA
secondary
#E1F5D0
accent
#E6006A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #BA6FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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