#BA6EEE#BA6EEE

#BA6EEE is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.4% C 0.193 H 309.6°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#BA6EEE
RGBrgb(186, 110, 238)
HSLhsl(276, 79%, 68%)
HSVhsv(276, 54%, 93%)
CMYKcmyk(21.8%, 53.8%, 0%, 6.7%)
CIE-LABlab(59.68, 52.39, -53.00)
CIE-LCHlch(59.68, 74.52, 314.67°)
OKLaboklab(67.44% 0.123 -0.1487)
OKLCHoklch(67.44% 0.193 309.6)
XYZxyz(41.2553, 27.7647, 84.0582)
Luminance0.2776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6EEE #A2EE6E
analogous
#7A6EEE #BA6EEE #EE6EE2
triadic
#BA6EEE #EEBA6E #6EEEBA
tetradic
#BA6EEE #EE7A6E #A2EE6E #6EE2EE
square
#BA6EEE #EE7A6E #A2EE6E #6EE2EE
split-complementary
#BA6EEE #E2EE6E #6EEE7A
monochromatic
#8218CA #A037E8 #BA6EEE #D4A5F4 #EEDCFB

Accessibility & contrast

On white

3.20
#BA6EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#BA6EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6EEE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6EEE#FFFFFF#000000##000000
##BA6EEE1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#478CF2
Deuteranopia (green-blind)
#6191EB
Tritanopia (blue-blind)
#B385A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba6eee;
/* rgb */ color: rgb(186, 110, 238);
/* oklch */ color: oklch(67.4% 0.193 309.6);
Tailwind
colors: {
  custom: {
    50: '#d29af4',
    500: '#ba6eee',
    950: '#000000',
  },
}
SCSS
$custom: #ba6eee;
$custom-light: #d29af4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6eee",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 238
  },
  "hsl": {
    "h": 275.625,
    "s": 79.012,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67441,
    "c": 0.19292,
    "h": 309.6
  },
  "luminance": 0.27764
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA6EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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