#AB82FD#AB82FD

#AB82FD is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.9% C 0.177 H 297.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#AB82FD
RGBrgb(171, 130, 253)
HSLhsl(260, 97%, 75%)
HSVhsv(260, 49%, 99%)
CMYKcmyk(32.4%, 48.6%, 0%, 0.8%)
CIE-LABlab(63.11, 41.38, -55.91)
CIE-LCHlch(63.11, 69.56, 306.50°)
OKLaboklab(69.89% 0.0802 -0.1576)
OKLCHoklch(69.89% 0.177 297)
XYZxyz(42.5025, 31.7145, 96.7917)
Luminance0.3171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB82FD #D4FD82
analogous
#8297FD #AB82FD #E882FD
triadic
#AB82FD #FDAB82 #82FDAB
tetradic
#AB82FD #FD8297 #D4FD82 #82FDE8
square
#AB82FD #FD8297 #D4FD82 #82FDE8
split-complementary
#AB82FD #FDE882 #97FD82
monochromatic
#5A0AFB #8346FC #AB82FD #D3BEFE #EBE1FF

Accessibility & contrast

On white

2.86
#AB82FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#AB82FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB82FD
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB82FD#FFFFFF#000000##000000
##AB82FD1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#6097FA
Tritanopia (blue-blind)
#9999B4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab82fd;
/* rgb */ color: rgb(171, 130, 253);
/* oklch */ color: oklch(69.9% 0.177 297.0);
Tailwind
colors: {
  custom: {
    50: '#c7a7ff',
    500: '#ab82fd',
    950: '#000000',
  },
}
SCSS
$custom: #ab82fd;
$custom-light: #c7a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab82fd",
  "rgb": {
    "r": 171,
    "g": 130,
    "b": 253
  },
  "hsl": {
    "h": 260,
    "s": 96.85,
    "l": 75.098
  },
  "oklch": {
    "l": 0.6989,
    "c": 0.17686,
    "h": 297
  },
  "luminance": 0.31715
}

Semantic roles & 50–950 ramp

primary
#AB82FD
secondary
#EBF7D4
accent
#E60099
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AB82FD

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

Preview Lab → · Contrast checker → · Palette generator →

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