#BA80EA#BA80EA

#BA80EA is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.0% C 0.160 H 308.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#BA80EA
RGBrgb(186, 128, 234)
HSLhsl(273, 72%, 71%)
HSVhsv(273, 45%, 92%)
CMYKcmyk(20.5%, 45.3%, 0%, 8.2%)
CIE-LABlab(63.19, 41.95, -45.21)
CIE-LCHlch(63.19, 61.67, 312.85°)
OKLaboklab(69.99% 0.0986 -0.1261)
OKLCHoklch(69.99% 0.16 308)
XYZxyz(42.8173, 31.8185, 81.7119)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA80EA #B0EA80
analogous
#8580EA #BA80EA #EA80E5
triadic
#BA80EA #EABA80 #80EABA
tetradic
#BA80EA #EA8580 #B0EA80 #80E5EA
square
#BA80EA #EA8580 #B0EA80 #80E5EA
split-complementary
#BA80EA #E5EA80 #80EA85
monochromatic
#8022CE #9D4BE1 #BA80EA #D7B5F3 #F1E5FB

Accessibility & contrast

On white

2.85
#BA80EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#BA80EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA80EA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA80EA#FFFFFF#000000##000000
##BA80EA1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697EE
Deuteranopia (green-blind)
#759AE7
Tritanopia (blue-blind)
#B391AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba80ea;
/* rgb */ color: rgb(186, 128, 234);
/* oklch */ color: oklch(70.0% 0.160 308.0);
Tailwind
colors: {
  custom: {
    50: '#d1a6f1',
    500: '#ba80ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba80ea;
$custom-light: #d1a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba80ea",
  "rgb": {
    "r": 186,
    "g": 128,
    "b": 234
  },
  "hsl": {
    "h": 272.83,
    "s": 71.622,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69986,
    "c": 0.16001,
    "h": 308
  },
  "luminance": 0.31818
}

Semantic roles & 50–950 ramp

primary
#BA80EA
secondary
#E2F1D5
accent
#D4126A
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BA80EA

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

Preview Lab → · Contrast checker → · Palette generator →

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