#BA6EFA#BA6EFA

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

Color values

HEX#BA6EFA
RGBrgb(186, 110, 250)
HSLhsl(273, 93%, 71%)
HSVhsv(273, 56%, 98%)
CMYKcmyk(25.6%, 56%, 0%, 2%)
CIE-LABlab(60.33, 55.05, -58.60)
CIE-LCHlch(60.33, 80.40, 313.21°)
OKLaboklab(68.14% 0.1235 -0.165)
OKLCHoklch(68.14% 0.206 306.8)
XYZxyz(43.0774, 28.4935, 93.6544)
Luminance0.2849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6EFA #AEFA6E
analogous
#746EFA #BA6EFA #FA6EF4
triadic
#BA6EFA #FABA6E #6EFABA
tetradic
#BA6EFA #FA746E #AEFA6E #6EF4FA
square
#BA6EFA #FA746E #AEFA6E #6EF4FA
split-complementary
#BA6EFA #F4FA6E #6EFA74
monochromatic
#8008E6 #9E33F8 #BA6EFA #D6A9FC #F1E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA6EFA#FFFFFF#000000##000000
##BA6EFA1.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)
#3B8FFF
Deuteranopia (green-blind)
#5892F7
Tritanopia (blue-blind)
#B088AA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba6efa;
/* rgb */ color: rgb(186, 110, 250);
/* oklch */ color: oklch(68.1% 0.206 306.8);
Tailwind
colors: {
  custom: {
    50: '#d29afd',
    500: '#ba6efa',
    950: '#000000',
  },
}
SCSS
$custom: #ba6efa;
$custom-light: #d29afd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6efa",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 250
  },
  "hsl": {
    "h": 272.571,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68136,
    "c": 0.2061,
    "h": 306.8
  },
  "luminance": 0.28493
}

Semantic roles & 50–950 ramp

primary
#BA6EFA
secondary
#E0F5CF
accent
#E60069
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #BA6EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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