#BA6EED#BA6EED

#BA6EED is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.4% C 0.192 H 309.8°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#BA6EED
RGBrgb(186, 110, 237)
HSLhsl(276, 78%, 68%)
HSVhsv(276, 54%, 93%)
CMYKcmyk(21.5%, 53.6%, 0%, 7.1%)
CIE-LABlab(59.62, 52.17, -52.53)
CIE-LCHlch(59.62, 74.03, 314.80°)
OKLaboklab(67.38% 0.1229 -0.1473)
OKLCHoklch(67.38% 0.192 309.8)
XYZxyz(41.1088, 27.7061, 83.2866)
Luminance0.2771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6EED #A1ED6E
analogous
#7B6EED #BA6EED #ED6EE0
triadic
#BA6EED #EDBA6E #6EEDBA
tetradic
#BA6EED #ED7B6E #A1ED6E #6EE0ED
square
#BA6EED #ED7B6E #A1ED6E #6EE0ED
split-complementary
#BA6EED #E0ED6E #6EED7B
monochromatic
#8219C8 #A038E6 #BA6EED #D4A4F4 #EEDBFB

Accessibility & contrast

On white

3.21
#BA6EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#BA6EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6EED
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6EED#FFFFFF#000000##000000
##BA6EED1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#488CF1
Deuteranopia (green-blind)
#6291EA
Tritanopia (blue-blind)
#B384A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba6eed;
/* rgb */ color: rgb(186, 110, 237);
/* oklch */ color: oklch(67.4% 0.192 309.8);
Tailwind
colors: {
  custom: {
    50: '#d19af3',
    500: '#ba6eed',
    950: '#000000',
  },
}
SCSS
$custom: #ba6eed;
$custom-light: #d19af3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6eed",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 237
  },
  "hsl": {
    "h": 275.906,
    "s": 77.914,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67385,
    "c": 0.19182,
    "h": 309.8
  },
  "luminance": 0.27705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA6EED

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

Preview Lab → · Contrast checker → · Palette generator →

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