#AB82DA#AB82DA

#AB82DA is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.0% C 0.133 H 304.6°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#AB82DA
RGBrgb(171, 130, 218)
HSLhsl(268, 54%, 68%)
HSVhsv(268, 40%, 85%)
CMYKcmyk(21.6%, 40.4%, 0%, 14.5%)
CIE-LABlab(61.38, 32.95, -39.26)
CIE-LCHlch(61.38, 51.25, 310.01°)
OKLaboklab(68.03% 0.0752 -0.1092)
OKLCHoklch(68.03% 0.133 304.6)
XYZxyz(37.4295, 29.6853, 70.0741)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB82DA #B1DA82
analogous
#8285DA #AB82DA #D782DA
triadic
#AB82DA #DAAB82 #82DAAB
tetradic
#AB82DA #DA8285 #B1DA82 #82DAD7
square
#AB82DA #DA8285 #B1DA82 #82DAD7
split-complementary
#AB82DA #DAD782 #85DA82
monochromatic
#6D34AE #8B53CC #AB82DA #CBB1E8 #EAE0F6

Accessibility & contrast

On white

3.03
#AB82DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#AB82DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB82DA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB82DA#FFFFFF#000000##000000
##AB82DA1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D93DD
Deuteranopia (green-blind)
#7694D8
Tritanopia (blue-blind)
#A490A4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab82da;
/* rgb */ color: rgb(171, 130, 218);
/* oklch */ color: oklch(68.0% 0.133 304.6);
Tailwind
colors: {
  custom: {
    50: '#c5a7e6',
    500: '#ab82da',
    950: '#000000',
  },
}
SCSS
$custom: #ab82da;
$custom-light: #c5a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab82da",
  "rgb": {
    "r": 171,
    "g": 130,
    "b": 218
  },
  "hsl": {
    "h": 267.955,
    "s": 54.321,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68033,
    "c": 0.13259,
    "h": 304.6
  },
  "luminance": 0.29685
}

Semantic roles & 50–950 ramp

primary
#AB82DA
secondary
#DDE9CF
accent
#C22478
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AB82DA

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

Preview Lab → · Contrast checker → · Palette generator →

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