#AB82FA#AB82FA

#AB82FA is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.7% C 0.173 H 297.5°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#AB82FA
RGBrgb(171, 130, 250)
HSLhsl(261, 92%, 75%)
HSVhsv(261, 48%, 98%)
CMYKcmyk(31.6%, 48%, 0%, 2%)
CIE-LABlab(62.95, 40.63, -54.52)
CIE-LCHlch(62.95, 67.99, 306.70°)
OKLaboklab(69.72% 0.0799 -0.1535)
OKLCHoklch(69.72% 0.173 297.5)
XYZxyz(42.0283, 31.5248, 94.2946)
Luminance0.3152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB82FA #D1FA82
analogous
#8295FA #AB82FA #E782FA
triadic
#AB82FA #FAAB82 #82FAAB
tetradic
#AB82FA #FA8295 #D1FA82 #82FAE7
square
#AB82FA #FA8295 #D1FA82 #82FAE7
split-complementary
#AB82FA #FAE782 #95FA82
monochromatic
#5C0CF5 #8347F8 #AB82FA #D3BDFC #EBE2FE

Accessibility & contrast

On white

2.87
#AB82FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#AB82FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB82FA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB82FA#FFFFFF#000000##000000
##AB82FA1.002.877.307.30
#FFFFFF2.871.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FE
Deuteranopia (green-blind)
#6397F7
Tritanopia (blue-blind)
#9A99B2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab82fa;
/* rgb */ color: rgb(171, 130, 250);
/* oklch */ color: oklch(69.7% 0.173 297.5);
Tailwind
colors: {
  custom: {
    50: '#c7a7fc',
    500: '#ab82fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab82fa;
$custom-light: #c7a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab82fa",
  "rgb": {
    "r": 171,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 260.5,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69721,
    "c": 0.17309,
    "h": 297.5
  },
  "luminance": 0.31525
}

Semantic roles & 50–950 ramp

primary
#AB82FA
secondary
#EBF6D5
accent
#E60097
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB82FA

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

Preview Lab → · Contrast checker → · Palette generator →

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