#BA6EFF#BA6EFF

#BA6EFF is a light, highly saturated violet. Relative luminance 0.288; OKLCH L 68.4% C 0.212 H 305.7°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#BA6EFF
RGBrgb(186, 110, 255)
HSLhsl(271, 100%, 72%)
HSVhsv(271, 57%, 100%)
CMYKcmyk(27.1%, 56.9%, 0%, 0%)
CIE-LABlab(60.61, 56.18, -60.90)
CIE-LCHlch(60.61, 82.85, 312.69°)
OKLaboklab(68.43% 0.1235 -0.1718)
OKLCHoklch(68.43% 0.212 305.7)
XYZxyz(43.8718, 28.8113, 97.8383)
Luminance0.2881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6EFF #B3FF6E
analogous
#726EFF #BA6EFF #FF6EFC
triadic
#BA6EFF #FFBA6E #6EFFBA
tetradic
#BA6EFF #FF726E #B3FF6E #6EFCFF
square
#BA6EFF #FF726E #B3FF6E #6EFCFF
split-complementary
#BA6EFF #FCFF6E #6EFF72
monochromatic
#7F00F3 #9D31FF #BA6EFF #D7ABFF #F0E0FF

Accessibility & contrast

On white

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

On black

6.76
#BA6EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6EFF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6EFF#FFFFFF#000000##000000
##BA6EFF1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3490FF
Deuteranopia (green-blind)
#5393FC
Tritanopia (blue-blind)
#AE8AAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba6eff;
/* rgb */ color: rgb(186, 110, 255);
/* oklch */ color: oklch(68.4% 0.212 305.7);
Tailwind
colors: {
  custom: {
    50: '#d29aff',
    500: '#ba6eff',
    950: '#000000',
  },
}
SCSS
$custom: #ba6eff;
$custom-light: #d29aff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6eff",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 255
  },
  "hsl": {
    "h": 271.448,
    "s": 100,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68434,
    "c": 0.2116,
    "h": 305.7
  },
  "luminance": 0.28811
}

Semantic roles & 50–950 ramp

primary
#BA6EFF
secondary
#E4F7D2
accent
#E6006D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #BA6EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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