#AB82EF#AB82EF

#AB82EF is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.1% C 0.159 H 299.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#AB82EF
RGBrgb(171, 130, 239)
HSLhsl(263, 77%, 72%)
HSVhsv(263, 46%, 94%)
CMYKcmyk(28.5%, 45.6%, 0%, 6.3%)
CIE-LABlab(62.38, 37.93, -49.35)
CIE-LCHlch(62.38, 62.24, 307.54°)
OKLaboklab(69.12% 0.0786 -0.1385)
OKLCHoklch(69.12% 0.159 299.6)
XYZxyz(40.3536, 30.8549, 85.4742)
Luminance0.3085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB82EF #C6EF82
analogous
#828FEF #AB82EF #E282EF
triadic
#AB82EF #EFAB82 #82EFAB
tetradic
#AB82EF #EF828F #C6EF82 #82EFE2
square
#AB82EF #EF828F #C6EF82 #82EFE2
split-complementary
#AB82EF #EFE282 #8FEF82
monochromatic
#641CDB #874CE8 #AB82EF #CFB8F6 #EDE4FC

Accessibility & contrast

On white

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

On black

7.17
#AB82EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB82EF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB82EF#FFFFFF#000000##000000
##AB82EF1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6197F3
Deuteranopia (green-blind)
#6A96EC
Tritanopia (blue-blind)
#9E96AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab82ef;
/* rgb */ color: rgb(171, 130, 239);
/* oklch */ color: oklch(69.1% 0.159 299.6);
Tailwind
colors: {
  custom: {
    50: '#c6a7f5',
    500: '#ab82ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab82ef;
$custom-light: #c6a7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab82ef",
  "rgb": {
    "r": 171,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 262.569,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69116,
    "c": 0.15922,
    "h": 299.6
  },
  "luminance": 0.30855
}

Semantic roles & 50–950 ramp

primary
#AB82EF
secondary
#E9F3D8
accent
#DA0C8C
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB82EF

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

Preview Lab → · Contrast checker → · Palette generator →

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