#AB82F9#AB82F9

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

Color values

HEX#AB82F9
RGBrgb(171, 130, 249)
HSLhsl(261, 91%, 74%)
HSVhsv(261, 48%, 98%)
CMYKcmyk(31.3%, 47.8%, 0%, 2.4%)
CIE-LABlab(62.90, 40.38, -54.05)
CIE-LCHlch(62.90, 67.47, 306.76°)
OKLaboklab(69.66% 0.0798 -0.1522)
OKLCHoklch(69.66% 0.172 297.7)
XYZxyz(41.8719, 31.4623, 93.4710)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB82F9 #D0F982
analogous
#8295F9 #AB82F9 #E682F9
triadic
#AB82F9 #F9AB82 #82F9AB
tetradic
#AB82F9 #F98295 #D0F982 #82F9E6
square
#AB82F9 #F98295 #D0F982 #82F9E6
split-complementary
#AB82F9 #F9E682 #95F982
monochromatic
#5D0DF3 #8448F6 #AB82F9 #D2BCFC #EBE2FE

Accessibility & contrast

On white

2.88
#AB82F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#AB82F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB82F9
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB82F9#FFFFFF#000000##000000
##AB82F91.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FD
Deuteranopia (green-blind)
#6397F6
Tritanopia (blue-blind)
#9A98B2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab82f9;
/* rgb */ color: rgb(171, 130, 249);
/* oklch */ color: oklch(69.7% 0.172 297.7);
Tailwind
colors: {
  custom: {
    50: '#c7a7fc',
    500: '#ab82f9',
    950: '#000000',
  },
}
SCSS
$custom: #ab82f9;
$custom-light: #c7a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab82f9",
  "rgb": {
    "r": 171,
    "g": 130,
    "b": 249
  },
  "hsl": {
    "h": 260.672,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69665,
    "c": 0.17184,
    "h": 297.7
  },
  "luminance": 0.31463
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB82F9

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

Preview Lab → · Contrast checker → · Palette generator →

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