#BA6EE6#BA6EE6

#BA6EE6 is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.0% C 0.184 H 311.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#BA6EE6
RGBrgb(186, 110, 230)
HSLhsl(278, 71%, 67%)
HSVhsv(278, 52%, 90%)
CMYKcmyk(19.1%, 52.2%, 0%, 9.8%)
CIE-LABlab(59.26, 50.65, -49.21)
CIE-LCHlch(59.26, 70.62, 315.83°)
OKLaboklab(67% 0.1224 -0.1376)
OKLCHoklch(67% 0.184 311.6)
XYZxyz(40.1060, 27.3050, 78.0052)
Luminance0.2730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6EE6 #9AE66E
analogous
#7E6EE6 #BA6EE6 #E66ED6
triadic
#BA6EE6 #E6BA6E #6EE6BA
tetradic
#BA6EE6 #E67E6E #9AE66E #6ED6E6
square
#BA6EE6 #E67E6E #9AE66E #6ED6E6
split-complementary
#BA6EE6 #D6E66E #6EE67E
monochromatic
#8120BA #A13ADD #BA6EE6 #D3A2EF #ECD6F8

Accessibility & contrast

On white

3.25
#BA6EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#BA6EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6EE6
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6EE6#FFFFFF#000000##000000
##BA6EE61.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8BEA
Deuteranopia (green-blind)
#6690E3
Tritanopia (blue-blind)
#B582A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba6ee6;
/* rgb */ color: rgb(186, 110, 230);
/* oklch */ color: oklch(67.0% 0.184 311.6);
Tailwind
colors: {
  custom: {
    50: '#d19aee',
    500: '#ba6ee6',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ee6;
$custom-light: #d19aee;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ee6",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 230
  },
  "hsl": {
    "h": 278,
    "s": 70.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66995,
    "c": 0.18416,
    "h": 311.6
  },
  "luminance": 0.27304
}

Semantic roles & 50–950 ramp

primary
#BA6EE6
secondary
#D3EBC5
accent
#D31359
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA6EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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