#BA70EA#BA70EA

#BA70EA is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.5% C 0.185 H 310.4°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#BA70EA
RGBrgb(186, 112, 234)
HSLhsl(276, 74%, 68%)
HSVhsv(276, 52%, 92%)
CMYKcmyk(20.5%, 52.1%, 0%, 8.2%)
CIE-LABlab(59.86, 50.48, -50.48)
CIE-LCHlch(59.86, 71.39, 315.00°)
OKLaboklab(67.51% 0.1201 -0.1413)
OKLCHoklch(67.51% 0.185 310.4)
XYZxyz(40.8924, 27.9687, 81.0703)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA70EA #A0EA70
analogous
#7D70EA #BA70EA #EA70DD
triadic
#BA70EA #EABA70 #70EABA
tetradic
#BA70EA #EA7D70 #A0EA70 #70DDEA
square
#BA70EA #EA7D70 #A0EA70 #70DDEA
split-complementary
#BA70EA #DDEA70 #70EA7D
monochromatic
#821DC3 #A03BE2 #BA70EA #D4A5F2 #EDDBFA

Accessibility & contrast

On white

3.18
#BA70EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#BA70EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA70EA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA70EA#FFFFFF#000000##000000
##BA70EA1.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEE
Deuteranopia (green-blind)
#6692E7
Tritanopia (blue-blind)
#B485A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba70ea;
/* rgb */ color: rgb(186, 112, 234);
/* oklch */ color: oklch(67.5% 0.185 310.4);
Tailwind
colors: {
  custom: {
    50: '#d19bf1',
    500: '#ba70ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba70ea;
$custom-light: #d19bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba70ea",
  "rgb": {
    "r": 186,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 276.393,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67509,
    "c": 0.18545,
    "h": 310.4
  },
  "luminance": 0.27968
}

Semantic roles & 50–950 ramp

primary
#BA70EA
secondary
#D7EEC8
accent
#D70F5D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA70EA

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

Preview Lab → · Contrast checker → · Palette generator →

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