#BA6EEA#BA6EEA

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

Color values

HEX#BA6EEA
RGBrgb(186, 110, 234)
HSLhsl(277, 75%, 67%)
HSVhsv(277, 53%, 92%)
CMYKcmyk(20.5%, 53%, 0%, 8.2%)
CIE-LABlab(59.46, 51.51, -51.11)
CIE-LCHlch(59.46, 72.56, 315.23°)
OKLaboklab(67.22% 0.1227 -0.1431)
OKLCHoklch(67.22% 0.189 310.6)
XYZxyz(40.6742, 27.5323, 80.9975)
Luminance0.2753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6EEA #9EEA6E
analogous
#7C6EEA #BA6EEA #EA6EDC
triadic
#BA6EEA #EABA6E #6EEABA
tetradic
#BA6EEA #EA7C6E #9EEA6E #6EDCEA
square
#BA6EEA #EA7C6E #9EEA6E #6EDCEA
split-complementary
#BA6EEA #DCEA6E #6EEA7C
monochromatic
#811CC2 #A139E2 #BA6EEA #D3A3F2 #EDD9F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA6EEA#FFFFFF#000000##000000
##BA6EEA1.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)
#4B8CEE
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#B483A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba6eea;
/* rgb */ color: rgb(186, 110, 234);
/* oklch */ color: oklch(67.2% 0.189 310.6);
Tailwind
colors: {
  custom: {
    50: '#d19af1',
    500: '#ba6eea',
    950: '#000000',
  },
}
SCSS
$custom: #ba6eea;
$custom-light: #d19af1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6eea",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 234
  },
  "hsl": {
    "h": 276.774,
    "s": 74.699,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67217,
    "c": 0.18853,
    "h": 310.6
  },
  "luminance": 0.27531
}

Semantic roles & 50–950 ramp

primary
#BA6EEA
secondary
#D6EDC7
accent
#D70F5C
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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