#BA82EA#BA82EA

#BA82EA is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.3% C 0.157 H 307.7°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#BA82EA
RGBrgb(186, 130, 234)
HSLhsl(272, 71%, 71%)
HSVhsv(272, 44%, 92%)
CMYKcmyk(20.5%, 44.4%, 0%, 8.2%)
CIE-LABlab(63.63, 40.86, -44.53)
CIE-LCHlch(63.63, 60.43, 312.54°)
OKLaboklab(70.31% 0.0958 -0.1241)
OKLCHoklch(70.31% 0.157 307.7)
XYZxyz(43.0807, 32.3453, 81.7997)
Luminance0.3235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA82EA #B2EA82
analogous
#8682EA #BA82EA #EA82E6
triadic
#BA82EA #EABA82 #82EABA
tetradic
#BA82EA #EA8682 #B2EA82 #82E6EA
square
#BA82EA #EA8682 #B2EA82 #82E6EA
split-complementary
#BA82EA #E6EA82 #82EA86
monochromatic
#7F23CF #9D4EE1 #BA82EA #D7B6F3 #F1E5FB

Accessibility & contrast

On white

2.81
#BA82EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#BA82EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA82EA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA82EA#FFFFFF#000000##000000
##BA82EA1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EE
Deuteranopia (green-blind)
#779BE7
Tritanopia (blue-blind)
#B393AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ba82ea;
/* rgb */ color: rgb(186, 130, 234);
/* oklch */ color: oklch(70.3% 0.157 307.7);
Tailwind
colors: {
  custom: {
    50: '#d0a7f1',
    500: '#ba82ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba82ea;
$custom-light: #d0a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba82ea",
  "rgb": {
    "r": 186,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 272.308,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70312,
    "c": 0.15676,
    "h": 307.7
  },
  "luminance": 0.32345
}

Semantic roles & 50–950 ramp

primary
#BA82EA
secondary
#E3F1D6
accent
#D3126B
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BA82EA

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

Preview Lab → · Contrast checker → · Palette generator →

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