#BA6EE9#BA6EE9

#BA6EE9 is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.2% C 0.187 H 310.9°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#BA6EE9
RGBrgb(186, 110, 233)
HSLhsl(277, 74%, 67%)
HSVhsv(277, 53%, 91%)
CMYKcmyk(20.2%, 52.8%, 0%, 8.6%)
CIE-LABlab(59.41, 51.30, -50.63)
CIE-LCHlch(59.41, 72.08, 315.37°)
OKLaboklab(67.16% 0.1226 -0.1418)
OKLCHoklch(67.16% 0.187 310.9)
XYZxyz(40.5309, 27.4750, 80.2431)
Luminance0.2747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6EE9 #9DE96E
analogous
#7C6EE9 #BA6EE9 #E96EDB
triadic
#BA6EE9 #E9BA6E #6EE9BA
tetradic
#BA6EE9 #E97C6E #9DE96E #6EDBE9
square
#BA6EE9 #E97C6E #9DE96E #6EDBE9
split-complementary
#BA6EE9 #DBE96E #6EE97C
monochromatic
#811DC0 #A139E1 #BA6EE9 #D3A3F1 #EDD8F9

Accessibility & contrast

On white

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

On black

6.49
#BA6EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6EE9
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6EE9#FFFFFF#000000##000000
##BA6EE91.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8BED
Deuteranopia (green-blind)
#6591E6
Tritanopia (blue-blind)
#B483A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba6ee9;
/* rgb */ color: rgb(186, 110, 233);
/* oklch */ color: oklch(67.2% 0.187 310.9);
Tailwind
colors: {
  custom: {
    50: '#d19af0',
    500: '#ba6ee9',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ee9;
$custom-light: #d19af0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ee9",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 233
  },
  "hsl": {
    "h": 277.073,
    "s": 73.653,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67161,
    "c": 0.18743,
    "h": 310.9
  },
  "luminance": 0.27474
}

Semantic roles & 50–950 ramp

primary
#BA6EE9
secondary
#D5EDC6
accent
#D6105B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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