#BA6FF1#BA6FF1

#BA6FF1 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.8% C 0.195 H 308.7°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#BA6FF1
RGBrgb(186, 111, 241)
HSLhsl(275, 82%, 69%)
HSVhsv(275, 54%, 95%)
CMYKcmyk(22.8%, 53.9%, 0%, 5.5%)
CIE-LABlab(60.03, 52.53, -54.09)
CIE-LCHlch(60.03, 75.40, 314.16°)
OKLaboklab(67.76% 0.1218 -0.1519)
OKLCHoklch(67.76% 0.195 308.7)
XYZxyz(41.8082, 28.1595, 86.4349)
Luminance0.2816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6FF1 #A6F16F
analogous
#796FF1 #BA6FF1 #F16FE7
triadic
#BA6FF1 #F1BA6F #6FF1BA
tetradic
#BA6FF1 #F1796F #A6F16F #6FE7F1
square
#BA6FF1 #F1796F #A6F16F #6FE7F1
split-complementary
#BA6FF1 #E7F16F #6FF179
monochromatic
#8114D1 #9F37EC #BA6FF1 #D5A7F6 #EFDFFC

Accessibility & contrast

On white

3.17
#BA6FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#BA6FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6FF1
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6FF1#FFFFFF#000000##000000
##BA6FF11.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#468EF5
Deuteranopia (green-blind)
#6092EE
Tritanopia (blue-blind)
#B286A6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba6ff1;
/* rgb */ color: rgb(186, 111, 241);
/* oklch */ color: oklch(67.8% 0.195 308.7);
Tailwind
colors: {
  custom: {
    50: '#d29bf6',
    500: '#ba6ff1',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ff1;
$custom-light: #d29bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ff1",
  "rgb": {
    "r": 186,
    "g": 111,
    "b": 241
  },
  "hsl": {
    "h": 274.615,
    "s": 82.278,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67756,
    "c": 0.1947,
    "h": 308.7
  },
  "luminance": 0.28159
}

Semantic roles & 50–950 ramp

primary
#BA6FF1
secondary
#DBF1CB
accent
#DF0762
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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