#AB99FE#AB99FE

#AB99FE is a light, vivid violet. Relative luminance 0.386; OKLCH L 73.9% C 0.144 H 290.6°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#AB99FE
RGBrgb(171, 153, 254)
HSLhsl(251, 98%, 80%)
HSVhsv(251, 40%, 100%)
CMYKcmyk(32.7%, 39.8%, 0%, 0.4%)
CIE-LABlab(68.46, 28.73, -47.99)
CIE-LCHlch(68.46, 55.93, 300.90°)
OKLaboklab(73.94% 0.0506 -0.1345)
OKLCHoklch(73.94% 0.144 290.6)
XYZxyz(46.0706, 38.5951, 98.7690)
Luminance0.3860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB99FE #ECFE99
analogous
#99BAFE #AB99FE #DD99FE
triadic
#AB99FE #FEAB99 #99FEAB
tetradic
#AB99FE #FE99BA #ECFE99 #99FEDD
square
#AB99FE #FE99BA #ECFE99 #99FEDD
split-complementary
#AB99FE #FEDD99 #BAFE99
monochromatic
#4720FD #795CFD #AB99FE #DDD6FF #E6E1FF

Accessibility & contrast

On white

2.41
#AB99FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#AB99FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB99FE
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB99FE#FFFFFF#000000##000000
##AB99FE1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#7BA5FC
Tritanopia (blue-blind)
#97ACBF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ab99fe;
/* rgb */ color: rgb(171, 153, 254);
/* oklch */ color: oklch(73.9% 0.144 290.6);
Tailwind
colors: {
  custom: {
    50: '#c6b7ff',
    500: '#ab99fe',
    950: '#000000',
  },
}
SCSS
$custom: #ab99fe;
$custom-light: #c6b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab99fe",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 254
  },
  "hsl": {
    "h": 250.693,
    "s": 98.058,
    "l": 79.804
  },
  "oklch": {
    "l": 0.73939,
    "c": 0.14374,
    "h": 290.6
  },
  "luminance": 0.38596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB99FE

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

Preview Lab → · Contrast checker → · Palette generator →

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