#BA6FEF#BA6FEF

#BA6FEF is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.6% C 0.193 H 309.2°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#BA6FEF
RGBrgb(186, 111, 239)
HSLhsl(275, 80%, 69%)
HSVhsv(275, 54%, 94%)
CMYKcmyk(22.2%, 53.6%, 0%, 6.3%)
CIE-LABlab(59.93, 52.09, -53.16)
CIE-LCHlch(59.93, 74.42, 314.42°)
OKLaboklab(67.64% 0.1217 -0.1491)
OKLCHoklch(67.64% 0.193 309.2)
XYZxyz(41.5111, 28.0406, 84.8702)
Luminance0.2804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6FEF #A4EF6F
analogous
#7A6FEF #BA6FEF #EF6FE4
triadic
#BA6FEF #EFBA6F #6FEFBA
tetradic
#BA6FEF #EF7A6F #A4EF6F #6FE4EF
square
#BA6FEF #EF7A6F #A4EF6F #6FE4EF
split-complementary
#BA6FEF #E4EF6F #6FEF7A
monochromatic
#8117CD #A038E9 #BA6FEF #D4A6F5 #EFDDFB

Accessibility & contrast

On white

3.18
#BA6FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#BA6FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6FEF
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6FEF#FFFFFF#000000##000000
##BA6FEF1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF3
Deuteranopia (green-blind)
#6192EC
Tritanopia (blue-blind)
#B386A5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba6fef;
/* rgb */ color: rgb(186, 111, 239);
/* oklch */ color: oklch(67.6% 0.193 309.2);
Tailwind
colors: {
  custom: {
    50: '#d29bf5',
    500: '#ba6fef',
    950: '#000000',
  },
}
SCSS
$custom: #ba6fef;
$custom-light: #d29bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6fef",
  "rgb": {
    "r": 186,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 275.156,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67642,
    "c": 0.1925,
    "h": 309.2
  },
  "luminance": 0.2804
}

Semantic roles & 50–950 ramp

primary
#BA6FEF
secondary
#DAF0CA
accent
#DC0961
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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