#AB8DFF#AB8DFF

#AB8DFF is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.9% C 0.163 H 294.0°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#AB8DFF
RGBrgb(171, 141, 255)
HSLhsl(256, 100%, 78%)
HSVhsv(256, 45%, 100%)
CMYKcmyk(32.9%, 44.7%, 0%, 0%)
CIE-LABlab(65.69, 35.74, -52.90)
CIE-LCHlch(65.69, 63.84, 304.04°)
OKLaboklab(71.86% 0.0664 -0.1488)
OKLCHoklch(71.86% 0.163 294)
XYZxyz(44.3649, 34.9269, 98.9925)
Luminance0.3493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8DFF #E1FF8D
analogous
#8DA8FF #AB8DFF #E48DFF
triadic
#AB8DFF #FFAB8D #8DFFAB
tetradic
#AB8DFF #FF8DA8 #E1FF8D #8DFFE4
square
#AB8DFF #FF8DA8 #E1FF8D #8DFFE4
split-complementary
#AB8DFF #FFE48D #A8FF8D
monochromatic
#5113FF #7E50FF #AB8DFF #D8CAFF #E8E0FF

Accessibility & contrast

On white

2.63
#AB8DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#AB8DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8DFF
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8DFF#FFFFFF#000000##000000
##AB8DFF1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A1FF
Deuteranopia (green-blind)
#6C9EFC
Tritanopia (blue-blind)
#98A2BA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ab8dff;
/* rgb */ color: rgb(171, 141, 255);
/* oklch */ color: oklch(71.9% 0.163 294.0);
Tailwind
colors: {
  custom: {
    50: '#c7aeff',
    500: '#ab8dff',
    950: '#000000',
  },
}
SCSS
$custom: #ab8dff;
$custom-light: #c7aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8dff",
  "rgb": {
    "r": 171,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 255.789,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.71863,
    "c": 0.16295,
    "h": 294
  },
  "luminance": 0.34928
}

Semantic roles & 50–950 ramp

primary
#AB8DFF
secondary
#EEF7D4
accent
#E600A9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AB8DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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