#BA82ED#BA82ED

#BA82ED is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.5% C 0.160 H 306.9°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#BA82ED
RGBrgb(186, 130, 237)
HSLhsl(271, 75%, 72%)
HSVhsv(271, 45%, 93%)
CMYKcmyk(21.5%, 45.1%, 0%, 7.1%)
CIE-LABlab(63.77, 41.53, -45.96)
CIE-LCHlch(63.77, 61.94, 312.10°)
OKLaboklab(70.47% 0.0962 -0.1282)
OKLCHoklch(70.47% 0.16 306.9)
XYZxyz(43.5153, 32.5192, 84.0887)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA82ED #B5ED82
analogous
#8582ED #BA82ED #ED82EA
triadic
#BA82ED #EDBA82 #82EDBA
tetradic
#BA82ED #ED8582 #B5ED82 #82EAED
square
#BA82ED #ED8582 #B5ED82 #82EAED
split-complementary
#BA82ED #EAED82 #82ED85
monochromatic
#7F1FD6 #9C4DE5 #BA82ED #D8B7F5 #F0E4FB

Accessibility & contrast

On white

2.80
#BA82ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#BA82ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA82ED
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA82ED#FFFFFF#000000##000000
##BA82ED1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F1
Deuteranopia (green-blind)
#759BEA
Tritanopia (blue-blind)
#B294AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ba82ed;
/* rgb */ color: rgb(186, 130, 237);
/* oklch */ color: oklch(70.5% 0.160 306.9);
Tailwind
colors: {
  custom: {
    50: '#d1a7f3',
    500: '#ba82ed',
    950: '#000000',
  },
}
SCSS
$custom: #ba82ed;
$custom-light: #d1a7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba82ed",
  "rgb": {
    "r": 186,
    "g": 130,
    "b": 237
  },
  "hsl": {
    "h": 271.402,
    "s": 74.825,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70465,
    "c": 0.16034,
    "h": 306.9
  },
  "luminance": 0.32519
}

Semantic roles & 50–950 ramp

primary
#BA82ED
secondary
#E5F3D8
accent
#D70F6E
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BA82ED

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

Preview Lab → · Contrast checker → · Palette generator →

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