#BA6DEE#BA6DEE

#BA6DEE is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.3% C 0.194 H 309.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#BA6DEE
RGBrgb(186, 109, 238)
HSLhsl(276, 79%, 68%)
HSVhsv(276, 54%, 93%)
CMYKcmyk(21.8%, 54.2%, 0%, 6.7%)
CIE-LABlab(59.48, 52.90, -53.31)
CIE-LCHlch(59.48, 75.10, 314.78°)
OKLaboklab(67.3% 0.1242 -0.1496)
OKLCHoklch(67.3% 0.194 309.7)
XYZxyz(41.1480, 27.5501, 84.0224)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6DEE #A1EE6D
analogous
#796DEE #BA6DEE #EE6DE1
triadic
#BA6DEE #EEBA6D #6DEEBA
tetradic
#BA6DEE #EE796D #A1EE6D #6DE1EE
square
#BA6DEE #EE796D #A1EE6D #6DE1EE
split-complementary
#BA6DEE #E1EE6D #6DEE79
monochromatic
#8217C9 #A036E8 #BA6DEE #D4A4F4 #EEDBFB

Accessibility & contrast

On white

3.23
#BA6DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#BA6DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6DEE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6DEE#FFFFFF#000000##000000
##BA6DEE1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#468CF2
Deuteranopia (green-blind)
#6090EB
Tritanopia (blue-blind)
#B384A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba6dee;
/* rgb */ color: rgb(186, 109, 238);
/* oklch */ color: oklch(67.3% 0.194 309.7);
Tailwind
colors: {
  custom: {
    50: '#d29af4',
    500: '#ba6dee',
    950: '#000000',
  },
}
SCSS
$custom: #ba6dee;
$custom-light: #d29af4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6dee",
  "rgb": {
    "r": 186,
    "g": 109,
    "b": 238
  },
  "hsl": {
    "h": 275.814,
    "s": 79.141,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67297,
    "c": 0.19443,
    "h": 309.7
  },
  "luminance": 0.27549
}

Semantic roles & 50–950 ramp

primary
#BA6DEE
secondary
#D8EFC8
accent
#DB0A5E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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