#AB99FF#AB99FF

#AB99FF is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.0% C 0.145 H 290.5°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#AB99FF
RGBrgb(171, 153, 255)
HSLhsl(251, 100%, 80%)
HSVhsv(251, 40%, 100%)
CMYKcmyk(32.9%, 40%, 0%, 0%)
CIE-LABlab(68.50, 28.98, -48.46)
CIE-LCHlch(68.50, 56.46, 300.88°)
OKLaboklab(73.99% 0.0508 -0.1359)
OKLCHoklch(73.99% 0.145 290.5)
XYZxyz(46.2311, 38.6593, 99.6146)
Luminance0.3866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB99FF #EDFF99
analogous
#99BAFF #AB99FF #DE99FF
triadic
#AB99FF #FFAB99 #99FFAB
tetradic
#AB99FF #FF99BA #EDFF99 #99FFDE
square
#AB99FF #FF99BA #EDFF99 #99FFDE
split-complementary
#AB99FF #FFDE99 #BAFF99
monochromatic
#461FFF #795CFF #AB99FF #DDD6FF #E6E0FF

Accessibility & contrast

On white

2.40
#AB99FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#AB99FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB99FF
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB99FF#FFFFFF#000000##000000
##AB99FF1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A9FF
Deuteranopia (green-blind)
#7AA5FC
Tritanopia (blue-blind)
#97ACC0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ab99ff;
/* rgb */ color: rgb(171, 153, 255);
/* oklch */ color: oklch(74.0% 0.145 290.5);
Tailwind
colors: {
  custom: {
    50: '#c7b7ff',
    500: '#ab99ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab99ff;
$custom-light: #c7b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab99ff",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 255
  },
  "hsl": {
    "h": 250.588,
    "s": 100,
    "l": 80
  },
  "oklch": {
    "l": 0.7399,
    "c": 0.14508,
    "h": 290.5
  },
  "luminance": 0.3866
}

Semantic roles & 50–950 ramp

primary
#AB99FF
secondary
#F1F7D4
accent
#E600BD
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AB99FF

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

Preview Lab → · Contrast checker → · Palette generator →

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