#AB8FF9#AB8FF9

#AB8FF9 is a light, vivid violet. Relative luminance 0.351; OKLCH L 71.9% C 0.152 H 294.4°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#AB8FF9
RGBrgb(171, 143, 249)
HSLhsl(256, 90%, 77%)
HSVhsv(256, 43%, 98%)
CMYKcmyk(31.3%, 42.6%, 0%, 2.4%)
CIE-LABlab(65.86, 33.10, -49.36)
CIE-LCHlch(65.86, 59.43, 303.85°)
OKLaboklab(71.89% 0.0629 -0.1385)
OKLCHoklch(71.89% 0.152 294.4)
XYZxyz(43.7116, 35.1417, 94.0842)
Luminance0.3514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8FF9 #DDF98F
analogous
#8FA8F9 #AB8FF9 #E08FF9
triadic
#AB8FF9 #F9AB8F #8FF9AB
tetradic
#AB8FF9 #F98FA8 #DDF98F #8FF9E0
square
#AB8FF9 #F98FA8 #DDF98F #8FF9E0
split-complementary
#AB8FF9 #F9E08F #A8F98F
monochromatic
#541BF3 #7F55F6 #AB8FF9 #D7C9FC #E9E2FD

Accessibility & contrast

On white

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

On black

8.03
#AB8FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8FF9
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8FF9#FFFFFF#000000##000000
##AB8FF91.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab8ff9;
/* rgb */ color: rgb(171, 143, 249);
/* oklch */ color: oklch(71.9% 0.152 294.4);
Tailwind
colors: {
  custom: {
    50: '#c6b0fc',
    500: '#ab8ff9',
    950: '#000000',
  },
}
SCSS
$custom: #ab8ff9;
$custom-light: #c6b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8ff9",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 249
  },
  "hsl": {
    "h": 255.849,
    "s": 89.831,
    "l": 76.863
  },
  "oklch": {
    "l": 0.71892,
    "c": 0.15211,
    "h": 294.4
  },
  "luminance": 0.35142
}

Semantic roles & 50–950 ramp

primary
#AB8FF9
secondary
#EDF6D5
accent
#E600A9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB8FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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