#AB99FA#AB99FA

#AB99FA is a light, vivid violet. Relative luminance 0.383; OKLCH L 73.7% C 0.138 H 291.1°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#AB99FA
RGBrgb(171, 153, 250)
HSLhsl(251, 91%, 79%)
HSVhsv(251, 39%, 98%)
CMYKcmyk(31.6%, 38.8%, 0%, 2%)
CIE-LABlab(68.27, 27.71, -46.10)
CIE-LCHlch(68.27, 53.79, 301.01°)
OKLaboklab(73.74% 0.0499 -0.129)
OKLCHoklch(73.74% 0.138 291.1)
XYZxyz(45.4367, 38.3416, 95.4307)
Luminance0.3834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB99FA #E8FA99
analogous
#99B8FA #AB99FA #DC99FA
triadic
#AB99FA #FAAB99 #99FAAB
tetradic
#AB99FA #FA99B8 #E8FA99 #99FADC
square
#AB99FA #FA99B8 #E8FA99 #99FADC
split-complementary
#AB99FA #FADC99 #B8FA99
monochromatic
#4B24F4 #7B5FF7 #AB99FA #DBD3FD #E7E2FE

Accessibility & contrast

On white

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

On black

8.67
#AB99FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB99FA
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB99FA#FFFFFF#000000##000000
##AB99FA1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FE
Deuteranopia (green-blind)
#7DA4F8
Tritanopia (blue-blind)
#98ABBE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ab99fa;
/* rgb */ color: rgb(171, 153, 250);
/* oklch */ color: oklch(73.7% 0.138 291.1);
Tailwind
colors: {
  custom: {
    50: '#c6b7fc',
    500: '#ab99fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab99fa;
$custom-light: #c6b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab99fa",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 251.134,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.73738,
    "c": 0.13835,
    "h": 291.1
  },
  "luminance": 0.38343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB99FA

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

Preview Lab → · Contrast checker → · Palette generator →

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