#AB8FF8#AB8FF8

#AB8FF8 is a light, vivid violet. Relative luminance 0.351; OKLCH L 71.8% C 0.151 H 294.6°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#AB8FF8
RGBrgb(171, 143, 248)
HSLhsl(256, 88%, 77%)
HSVhsv(256, 42%, 97%)
CMYKcmyk(31%, 42.3%, 0%, 2.7%)
CIE-LABlab(65.81, 32.85, -48.89)
CIE-LCHlch(65.81, 58.90, 303.90°)
OKLaboklab(71.84% 0.0627 -0.1371)
OKLCHoklch(71.84% 0.151 294.6)
XYZxyz(43.5561, 35.0795, 93.2650)
Luminance0.3508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8FF8 #DCF88F
analogous
#8FA8F8 #AB8FF8 #E08FF8
triadic
#AB8FF8 #F8AB8F #8FF8AB
tetradic
#AB8FF8 #F88FA8 #DCF88F #8FF8E0
square
#AB8FF8 #F88FA8 #DCF88F #8FF8E0
split-complementary
#AB8FF8 #F8E08F #A8F88F
monochromatic
#551CF1 #8055F4 #AB8FF8 #D6C9FC #E9E2FD

Accessibility & contrast

On white

2.62
#AB8FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#AB8FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8FF8
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8FF8#FFFFFF#000000##000000
##AB8FF81.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FC
Deuteranopia (green-blind)
#739EF5
Tritanopia (blue-blind)
#9AA2B8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ab8ff8;
/* rgb */ color: rgb(171, 143, 248);
/* oklch */ color: oklch(71.8% 0.151 294.6);
Tailwind
colors: {
  custom: {
    50: '#c6b0fb',
    500: '#ab8ff8',
    950: '#000000',
  },
}
SCSS
$custom: #ab8ff8;
$custom-light: #c6b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8ff8",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 256,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7184,
    "c": 0.15079,
    "h": 294.6
  },
  "luminance": 0.3508
}

Semantic roles & 50–950 ramp

primary
#AB8FF8
secondary
#EDF5D6
accent
#E501A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB8FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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