#AB82F7#AB82F7

#AB82F7 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.6% C 0.169 H 298.0°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#AB82F7
RGBrgb(171, 130, 247)
HSLhsl(261, 88%, 74%)
HSVhsv(261, 47%, 97%)
CMYKcmyk(30.8%, 47.4%, 0%, 3.1%)
CIE-LABlab(62.79, 39.89, -53.12)
CIE-LCHlch(62.79, 66.43, 306.90°)
OKLaboklab(69.55% 0.0796 -0.1494)
OKLCHoklch(69.55% 0.169 298)
XYZxyz(41.5617, 31.3382, 91.8369)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB82F7 #CEF782
analogous
#8294F7 #AB82F7 #E682F7
triadic
#AB82F7 #F7AB82 #82F7AB
tetradic
#AB82F7 #F78294 #CEF782 #82F7E6
square
#AB82F7 #F78294 #CEF782 #82F7E6
split-complementary
#AB82F7 #F7E682 #94F782
monochromatic
#5E0FEF #8448F3 #AB82F7 #D2BCFB #ECE2FD

Accessibility & contrast

On white

2.89
#AB82F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#AB82F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB82F7
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB82F7#FFFFFF#000000##000000
##AB82F71.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FB
Deuteranopia (green-blind)
#6597F4
Tritanopia (blue-blind)
#9B98B1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab82f7;
/* rgb */ color: rgb(171, 130, 247);
/* oklch */ color: oklch(69.6% 0.169 298.0);
Tailwind
colors: {
  custom: {
    50: '#c7a7fa',
    500: '#ab82f7',
    950: '#000000',
  },
}
SCSS
$custom: #ab82f7;
$custom-light: #c7a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab82f7",
  "rgb": {
    "r": 171,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 261.026,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69553,
    "c": 0.16932,
    "h": 298
  },
  "luminance": 0.31339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB82F7

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

Preview Lab → · Contrast checker → · Palette generator →

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