#AB82EA#AB82EA

#AB82EA is a light, vivid violet. Relative luminance 0.306; OKLCH L 68.8% C 0.153 H 300.6°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#AB82EA
RGBrgb(171, 130, 234)
HSLhsl(264, 71%, 71%)
HSVhsv(264, 44%, 92%)
CMYKcmyk(26.9%, 44.4%, 0%, 8.2%)
CIE-LABlab(62.14, 36.72, -46.97)
CIE-LCHlch(62.14, 59.62, 308.02°)
OKLaboklab(68.85% 0.0779 -0.1315)
OKLCHoklch(68.85% 0.153 300.6)
XYZxyz(39.6251, 30.5635, 81.6377)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB82EA #C1EA82
analogous
#828DEA #AB82EA #DF82EA
triadic
#AB82EA #EAAB82 #82EAAB
tetradic
#AB82EA #EA828D #C1EA82 #82EADF
square
#AB82EA #EA828D #C1EA82 #82EADF
split-complementary
#AB82EA #EADF82 #8DEA82
monochromatic
#6723CF #884EE1 #AB82EA #CEB6F3 #EDE5FB

Accessibility & contrast

On white

2.95
#AB82EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#AB82EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB82EA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB82EA#FFFFFF#000000##000000
##AB82EA1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EE
Deuteranopia (green-blind)
#6D96E7
Tritanopia (blue-blind)
#9F94AB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab82ea;
/* rgb */ color: rgb(171, 130, 234);
/* oklch */ color: oklch(68.8% 0.153 300.6);
Tailwind
colors: {
  custom: {
    50: '#c6a7f1',
    500: '#ab82ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab82ea;
$custom-light: #c6a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab82ea",
  "rgb": {
    "r": 171,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 263.654,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68849,
    "c": 0.15289,
    "h": 300.6
  },
  "luminance": 0.30564
}

Semantic roles & 50–950 ramp

primary
#AB82EA
secondary
#E7F1D6
accent
#D31287
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB82EA

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

Preview Lab → · Contrast checker → · Palette generator →

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