#AB99FB#AB99FB

#AB99FB is a light, vivid violet. Relative luminance 0.384; OKLCH L 73.8% C 0.140 H 291.0°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#AB99FB
RGBrgb(171, 153, 251)
HSLhsl(251, 92%, 79%)
HSVhsv(251, 39%, 98%)
CMYKcmyk(31.9%, 39%, 0%, 1.6%)
CIE-LABlab(68.32, 27.97, -46.58)
CIE-LCHlch(68.32, 54.33, 300.98°)
OKLaboklab(73.79% 0.0501 -0.1304)
OKLCHoklch(73.79% 0.14 291)
XYZxyz(45.5939, 38.4045, 96.2587)
Luminance0.3841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB99FB #E9FB99
analogous
#99B8FB #AB99FB #DC99FB
triadic
#AB99FB #FBAB99 #99FBAB
tetradic
#AB99FB #FB99B8 #E9FB99 #99FBDC
square
#AB99FB #FB99B8 #E9FB99 #99FBDC
split-complementary
#AB99FB #FBDC99 #B8FB99
monochromatic
#4A23F6 #7B5EF9 #AB99FB #DBD4FD #E7E2FE

Accessibility & contrast

On white

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

On black

8.68
#AB99FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB99FB
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB99FB#FFFFFF#000000##000000
##AB99FB1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab99fb;
/* rgb */ color: rgb(171, 153, 251);
/* oklch */ color: oklch(73.8% 0.140 291.0);
Tailwind
colors: {
  custom: {
    50: '#c6b7fd',
    500: '#ab99fb',
    950: '#000000',
  },
}
SCSS
$custom: #ab99fb;
$custom-light: #c6b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab99fb",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 251.02,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.73788,
    "c": 0.1397,
    "h": 291
  },
  "luminance": 0.38405
}

Semantic roles & 50–950 ramp

primary
#AB99FB
secondary
#F0F6D5
accent
#E600BB
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AB99FB

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

Preview Lab → · Contrast checker → · Palette generator →

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