#AB99FC#AB99FC

#AB99FC is a light, vivid violet. Relative luminance 0.385; OKLCH L 73.8% C 0.141 H 290.9°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#AB99FC
RGBrgb(171, 153, 252)
HSLhsl(251, 94%, 79%)
HSVhsv(251, 39%, 99%)
CMYKcmyk(32.1%, 39.3%, 0%, 1.2%)
CIE-LABlab(68.36, 28.22, -47.05)
CIE-LCHlch(68.36, 54.86, 300.96°)
OKLaboklab(73.84% 0.0503 -0.1318)
OKLCHoklch(73.84% 0.141 290.9)
XYZxyz(45.7520, 38.4677, 97.0911)
Luminance0.3847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB99FC #EAFC99
analogous
#99B9FC #AB99FC #DD99FC
triadic
#AB99FC #FCAB99 #99FCAB
tetradic
#AB99FC #FC99B9 #EAFC99 #99FCDD
square
#AB99FC #FC99B9 #EAFC99 #99FCDD
split-complementary
#AB99FC #FCDD99 #B9FC99
monochromatic
#4922F9 #7A5EFA #AB99FC #DCD4FE #E7E1FE

Accessibility & contrast

On white

2.42
#AB99FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#AB99FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB99FC
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB99FC#FFFFFF#000000##000000
##AB99FC1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FF
Deuteranopia (green-blind)
#7CA5FA
Tritanopia (blue-blind)
#98ABBF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ab99fc;
/* rgb */ color: rgb(171, 153, 252);
/* oklch */ color: oklch(73.8% 0.141 290.9);
Tailwind
colors: {
  custom: {
    50: '#c6b7fe',
    500: '#ab99fc',
    950: '#000000',
  },
}
SCSS
$custom: #ab99fc;
$custom-light: #c6b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab99fc",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 250.909,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.73838,
    "c": 0.14104,
    "h": 290.9
  },
  "luminance": 0.38469
}

Semantic roles & 50–950 ramp

primary
#AB99FC
secondary
#F0F6D5
accent
#E600BC
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AB99FC

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

Preview Lab → · Contrast checker → · Palette generator →

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