#AB82EE#AB82EE

#AB82EE is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.1% C 0.158 H 299.8°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#AB82EE
RGBrgb(171, 130, 238)
HSLhsl(263, 76%, 72%)
HSVhsv(263, 45%, 93%)
CMYKcmyk(28.2%, 45.4%, 0%, 6.7%)
CIE-LABlab(62.34, 37.69, -48.88)
CIE-LCHlch(62.34, 61.72, 307.63°)
OKLaboklab(69.06% 0.0785 -0.1371)
OKLCHoklch(69.06% 0.158 299.8)
XYZxyz(40.2063, 30.7960, 84.6984)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB82EE #C5EE82
analogous
#828FEE #AB82EE #E182EE
triadic
#AB82EE #EEAB82 #82EEAB
tetradic
#AB82EE #EE828F #C5EE82 #82EEE1
square
#AB82EE #EE828F #C5EE82 #82EEE1
split-complementary
#AB82EE #EEE182 #8FEE82
monochromatic
#641DD8 #874CE7 #AB82EE #CFB8F5 #EDE4FB

Accessibility & contrast

On white

2.93
#AB82EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#AB82EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB82EE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB82EE#FFFFFF#000000##000000
##AB82EE1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F2
Deuteranopia (green-blind)
#6B96EB
Tritanopia (blue-blind)
#9E95AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab82ee;
/* rgb */ color: rgb(171, 130, 238);
/* oklch */ color: oklch(69.1% 0.158 299.8);
Tailwind
colors: {
  custom: {
    50: '#c6a7f4',
    500: '#ab82ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab82ee;
$custom-light: #c6a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab82ee",
  "rgb": {
    "r": 171,
    "g": 130,
    "b": 238
  },
  "hsl": {
    "h": 262.778,
    "s": 76.056,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69062,
    "c": 0.15796,
    "h": 299.8
  },
  "luminance": 0.30796
}

Semantic roles & 50–950 ramp

primary
#AB82EE
secondary
#E9F3D8
accent
#D80D8B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB82EE

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

Preview Lab → · Contrast checker → · Palette generator →

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