#AB9AFF#AB9AFF

#AB9AFF is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.2% C 0.144 H 290.2°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#AB9AFF
RGBrgb(171, 154, 255)
HSLhsl(250, 100%, 80%)
HSVhsv(250, 40%, 100%)
CMYKcmyk(32.9%, 39.6%, 0%, 0%)
CIE-LABlab(68.74, 28.42, -48.08)
CIE-LCHlch(68.74, 55.85, 300.58°)
OKLaboklab(74.17% 0.0495 -0.1348)
OKLCHoklch(74.17% 0.144 290.2)
XYZxyz(46.3955, 38.9881, 99.6694)
Luminance0.3899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9AFF #EEFF9A
analogous
#9ABBFF #AB9AFF #DD9AFF
triadic
#AB9AFF #FFAB9A #9AFFAB
tetradic
#AB9AFF #FF9ABB #EEFF9A #9AFFDD
square
#AB9AFF #FF9ABB #EEFF9A #9AFFDD
split-complementary
#AB9AFF #FFDD9A #BBFF9A
monochromatic
#4520FF #785DFF #AB9AFF #DED7FF #E6E0FF

Accessibility & contrast

On white

2.39
#AB9AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#AB9AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9AFF
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9AFF#FFFFFF#000000##000000
##AB9AFF1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BAAFF
Deuteranopia (green-blind)
#7BA5FD
Tritanopia (blue-blind)
#97ADC0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ab9aff;
/* rgb */ color: rgb(171, 154, 255);
/* oklch */ color: oklch(74.2% 0.144 290.2);
Tailwind
colors: {
  custom: {
    50: '#c6b8ff',
    500: '#ab9aff',
    950: '#000000',
  },
}
SCSS
$custom: #ab9aff;
$custom-light: #c6b8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9aff",
  "rgb": {
    "r": 171,
    "g": 154,
    "b": 255
  },
  "hsl": {
    "h": 250.099,
    "s": 100,
    "l": 80.196
  },
  "oklch": {
    "l": 0.74172,
    "c": 0.1436,
    "h": 290.2
  },
  "luminance": 0.38989
}

Semantic roles & 50–950 ramp

primary
#AB9AFF
secondary
#F1F7D4
accent
#E600BF
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AB9AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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