#BA6FEE#BA6FEE

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

Color values

HEX#BA6FEE
RGBrgb(186, 111, 238)
HSLhsl(275, 79%, 68%)
HSVhsv(275, 53%, 93%)
CMYKcmyk(21.8%, 53.4%, 0%, 6.7%)
CIE-LABlab(59.87, 51.87, -52.68)
CIE-LCHlch(59.87, 73.93, 314.55°)
OKLaboklab(67.59% 0.1217 -0.1477)
OKLCHoklch(67.59% 0.191 309.5)
XYZxyz(41.3638, 27.9817, 84.0943)
Luminance0.2798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6FEE #A3EE6F
analogous
#7A6FEE #BA6FEE #EE6FE2
triadic
#BA6FEE #EEBA6F #6FEEBA
tetradic
#BA6FEE #EE7A6F #A3EE6F #6FE2EE
square
#BA6FEE #EE7A6F #A3EE6F #6FE2EE
split-complementary
#BA6FEE #E2EE6F #6FEE7A
monochromatic
#8118CB #A038E8 #BA6FEE #D4A6F4 #EEDCFB

Accessibility & contrast

On white

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

On black

6.60
#BA6FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6FEE
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6FEE#FFFFFF#000000##000000
##BA6FEE1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF2
Deuteranopia (green-blind)
#6291EB
Tritanopia (blue-blind)
#B385A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba6fee;
/* rgb */ color: rgb(186, 111, 238);
/* oklch */ color: oklch(67.6% 0.191 309.5);
Tailwind
colors: {
  custom: {
    50: '#d19bf4',
    500: '#ba6fee',
    950: '#000000',
  },
}
SCSS
$custom: #ba6fee;
$custom-light: #d19bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6fee",
  "rgb": {
    "r": 186,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 275.433,
    "s": 78.882,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67586,
    "c": 0.19139,
    "h": 309.5
  },
  "luminance": 0.27981
}

Semantic roles & 50–950 ramp

primary
#BA6FEE
secondary
#D9F0C9
accent
#DB0A60
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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