#AB82F5#AB82F5

#AB82F5 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.4% C 0.167 H 298.4°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#AB82F5
RGBrgb(171, 130, 245)
HSLhsl(261, 85%, 74%)
HSVhsv(261, 47%, 96%)
CMYKcmyk(30.2%, 46.9%, 0%, 3.9%)
CIE-LABlab(62.69, 39.39, -52.18)
CIE-LCHlch(62.69, 65.38, 307.05°)
OKLaboklab(69.44% 0.0794 -0.1467)
OKLCHoklch(69.44% 0.167 298.4)
XYZxyz(41.2547, 31.2154, 90.2202)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB82F5 #CCF582
analogous
#8292F5 #AB82F5 #E482F5
triadic
#AB82F5 #F5AB82 #82F5AB
tetradic
#AB82F5 #F58292 #CCF582 #82F5E4
square
#AB82F5 #F58292 #CCF582 #82F5E4
split-complementary
#AB82F5 #F5E482 #92F582
monochromatic
#5F13EA #8549F0 #AB82F5 #D1BBFA #ECE3FD

Accessibility & contrast

On white

2.90
#AB82F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#AB82F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB82F5
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB82F5#FFFFFF#000000##000000
##AB82F51.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D98F9
Deuteranopia (green-blind)
#6697F2
Tritanopia (blue-blind)
#9C97B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab82f5;
/* rgb */ color: rgb(171, 130, 245);
/* oklch */ color: oklch(69.4% 0.167 298.4);
Tailwind
colors: {
  custom: {
    50: '#c7a7f9',
    500: '#ab82f5',
    950: '#000000',
  },
}
SCSS
$custom: #ab82f5;
$custom-light: #c7a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab82f5",
  "rgb": {
    "r": 171,
    "g": 130,
    "b": 245
  },
  "hsl": {
    "h": 261.391,
    "s": 85.185,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69443,
    "c": 0.1668,
    "h": 298.4
  },
  "luminance": 0.31216
}

Semantic roles & 50–950 ramp

primary
#AB82F5
secondary
#EAF5D6
accent
#E20493
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB82F5

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

Preview Lab → · Contrast checker → · Palette generator →

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