#BA83EA#BA83EA

#BA83EA is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.5% C 0.155 H 307.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#BA83EA
RGBrgb(186, 131, 234)
HSLhsl(272, 71%, 72%)
HSVhsv(272, 44%, 92%)
CMYKcmyk(20.5%, 44%, 0%, 8.2%)
CIE-LABlab(63.85, 40.31, -44.18)
CIE-LCHlch(63.85, 59.81, 312.38°)
OKLaboklab(70.48% 0.0944 -0.1231)
OKLCHoklch(70.48% 0.155 307.5)
XYZxyz(43.2144, 32.6127, 81.8443)
Luminance0.3261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA83EA #B3EA83
analogous
#8783EA #BA83EA #EA83E6
triadic
#BA83EA #EABA83 #83EABA
tetradic
#BA83EA #EA8783 #B3EA83 #83E6EA
square
#BA83EA #EA8783 #B3EA83 #83E6EA
split-complementary
#BA83EA #E6EA83 #83EA87
monochromatic
#7F23CF #9D4FE1 #BA83EA #D7B7F3 #F0E5FB

Accessibility & contrast

On white

2.79
#BA83EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#BA83EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA83EA
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA83EA#FFFFFF#000000##000000
##BA83EA1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99EE
Deuteranopia (green-blind)
#789BE7
Tritanopia (blue-blind)
#B394AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba83ea;
/* rgb */ color: rgb(186, 131, 234);
/* oklch */ color: oklch(70.5% 0.155 307.5);
Tailwind
colors: {
  custom: {
    50: '#d0a8f1',
    500: '#ba83ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba83ea;
$custom-light: #d0a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba83ea",
  "rgb": {
    "r": 186,
    "g": 131,
    "b": 234
  },
  "hsl": {
    "h": 272.039,
    "s": 71.034,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70476,
    "c": 0.15513,
    "h": 307.5
  },
  "luminance": 0.32612
}

Semantic roles & 50–950 ramp

primary
#BA83EA
secondary
#E4F2D7
accent
#D3126C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BA83EA

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

Preview Lab → · Contrast checker → · Palette generator →

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