#AB82FB#AB82FB

#AB82FB is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.8% C 0.174 H 297.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#AB82FB
RGBrgb(171, 130, 251)
HSLhsl(260, 94%, 75%)
HSVhsv(260, 48%, 98%)
CMYKcmyk(31.9%, 48.2%, 0%, 1.6%)
CIE-LABlab(63.00, 40.88, -54.98)
CIE-LCHlch(63.00, 68.52, 306.63°)
OKLaboklab(69.78% 0.08 -0.1549)
OKLCHoklch(69.78% 0.174 297.3)
XYZxyz(42.1855, 31.5877, 95.1226)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB82FB #D2FB82
analogous
#8295FB #AB82FB #E882FB
triadic
#AB82FB #FBAB82 #82FBAB
tetradic
#AB82FB #FB8295 #D2FB82 #82FBE8
square
#AB82FB #FB8295 #D2FB82 #82FBE8
split-complementary
#AB82FB #FBE882 #95FB82
monochromatic
#5B0BF7 #8347F9 #AB82FB #D3BDFD #EBE1FE

Accessibility & contrast

On white

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

On black

7.32
#AB82FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB82FB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB82FB#FFFFFF#000000##000000
##AB82FB1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#6297F8
Tritanopia (blue-blind)
#9A99B3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab82fb;
/* rgb */ color: rgb(171, 130, 251);
/* oklch */ color: oklch(69.8% 0.174 297.3);
Tailwind
colors: {
  custom: {
    50: '#c7a7fd',
    500: '#ab82fb',
    950: '#000000',
  },
}
SCSS
$custom: #ab82fb;
$custom-light: #c7a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab82fb",
  "rgb": {
    "r": 171,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 260.331,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69777,
    "c": 0.17435,
    "h": 297.3
  },
  "luminance": 0.31588
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB82FB

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

Preview Lab → · Contrast checker → · Palette generator →

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