#AB82FC#AB82FC

#AB82FC is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.8% C 0.176 H 297.1°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#AB82FC
RGBrgb(171, 130, 252)
HSLhsl(260, 95%, 75%)
HSVhsv(260, 48%, 99%)
CMYKcmyk(32.1%, 48.4%, 0%, 1.2%)
CIE-LABlab(63.05, 41.13, -55.45)
CIE-LCHlch(63.05, 69.04, 306.56°)
OKLaboklab(69.83% 0.0801 -0.1563)
OKLCHoklch(69.83% 0.176 297.1)
XYZxyz(42.3436, 31.6509, 95.9550)
Luminance0.3165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB82FC #D3FC82
analogous
#8296FC #AB82FC #E882FC
triadic
#AB82FC #FCAB82 #82FCAB
tetradic
#AB82FC #FC8296 #D3FC82 #82FCE8
square
#AB82FC #FC8296 #D3FC82 #82FCE8
split-complementary
#AB82FC #FCE882 #96FC82
monochromatic
#5B0AF9 #8346FB #AB82FC #D3BEFD #EBE1FE

Accessibility & contrast

On white

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

On black

7.33
#AB82FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB82FC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB82FC#FFFFFF#000000##000000
##AB82FC1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#6197F9
Tritanopia (blue-blind)
#9999B3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab82fc;
/* rgb */ color: rgb(171, 130, 252);
/* oklch */ color: oklch(69.8% 0.176 297.1);
Tailwind
colors: {
  custom: {
    50: '#c7a7fe',
    500: '#ab82fc',
    950: '#000000',
  },
}
SCSS
$custom: #ab82fc;
$custom-light: #c7a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab82fc",
  "rgb": {
    "r": 171,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 260.164,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.69834,
    "c": 0.1756,
    "h": 297.1
  },
  "luminance": 0.31651
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB82FC

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

Preview Lab → · Contrast checker → · Palette generator →

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