#BA6EFB#BA6EFB

#BA6EFB is a light, highly saturated violet. Relative luminance 0.286; OKLCH L 68.2% C 0.207 H 306.6°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#BA6EFB
RGBrgb(186, 110, 251)
HSLhsl(272, 95%, 71%)
HSVhsv(272, 56%, 98%)
CMYKcmyk(25.9%, 56.2%, 0%, 1.6%)
CIE-LABlab(60.39, 55.27, -59.06)
CIE-LCHlch(60.39, 80.89, 313.10°)
OKLaboklab(68.19% 0.1235 -0.1664)
OKLCHoklch(68.19% 0.207 306.6)
XYZxyz(43.2346, 28.5564, 94.4824)
Luminance0.2856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6EFB #AFFB6E
analogous
#736EFB #BA6EFB #FB6EF6
triadic
#BA6EFB #FBBA6E #6EFBBA
tetradic
#BA6EFB #FB736E #AFFB6E #6EF6FB
square
#BA6EFB #FB736E #AFFB6E #6EF6FB
split-complementary
#BA6EFB #F6FB6E #6EFB73
monochromatic
#8006E8 #9E32F9 #BA6EFB #D6AAFD #F1E1FE

Accessibility & contrast

On white

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

On black

6.71
#BA6EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6EFB
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6EFB#FFFFFF#000000##000000
##BA6EFB1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#398FFF
Deuteranopia (green-blind)
#5792F8
Tritanopia (blue-blind)
#B089AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba6efb;
/* rgb */ color: rgb(186, 110, 251);
/* oklch */ color: oklch(68.2% 0.207 306.6);
Tailwind
colors: {
  custom: {
    50: '#d29afd',
    500: '#ba6efb',
    950: '#000000',
  },
}
SCSS
$custom: #ba6efb;
$custom-light: #d29afd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6efb",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 272.34,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68195,
    "c": 0.2072,
    "h": 306.6
  },
  "luminance": 0.28556
}

Semantic roles & 50–950 ramp

primary
#BA6EFB
secondary
#E1F5CF
accent
#E6006A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #BA6EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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