#AB99DF#AB99DF

#AB99DF is a light, moderate violet. Relative luminance 0.368; OKLCH L 72.5% C 0.102 H 295.6°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#AB99DF
RGBrgb(171, 153, 223)
HSLhsl(255, 52%, 74%)
HSVhsv(255, 31%, 87%)
CMYKcmyk(23.3%, 31.4%, 0%, 12.5%)
CIE-LABlab(67.10, 21.13, -33.12)
CIE-LCHlch(67.10, 39.28, 302.53°)
OKLaboklab(72.46% 0.0438 -0.0916)
OKLCHoklch(72.46% 0.102 295.6)
XYZxyz(41.5020, 36.7677, 74.7081)
Luminance0.3677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB99DF #CDDF99
analogous
#99AADF #AB99DF #CE99DF
triadic
#AB99DF #DFAB99 #99DFAB
tetradic
#AB99DF #DF99AA #CDDF99 #99DFCE
square
#AB99DF #DF99AA #CDDF99 #99DFCE
split-complementary
#AB99DF #DFCE99 #AADF99
monochromatic
#5F3DC1 #856AD0 #AB99DF #D1C8EE #ECE8F8

Accessibility & contrast

On white

2.51
#AB99DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#AB99DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB99DF
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB99DF#FFFFFF#000000##000000
##AB99DF1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A4E2
Deuteranopia (green-blind)
#8AA2DD
Tritanopia (blue-blind)
#A1A4B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ab99df;
/* rgb */ color: rgb(171, 153, 223);
/* oklch */ color: oklch(72.5% 0.102 295.6);
Tailwind
colors: {
  custom: {
    50: '#c5b7e9',
    500: '#ab99df',
    950: '#000000',
  },
}
SCSS
$custom: #ab99df;
$custom-light: #c5b7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab99df",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 223
  },
  "hsl": {
    "h": 255.429,
    "s": 52.239,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7246,
    "c": 0.10156,
    "h": 295.6
  },
  "luminance": 0.36768
}

Semantic roles & 50–950 ramp

primary
#AB99DF
secondary
#EAEFDC
accent
#C02698
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AB99DF

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

Preview Lab → · Contrast checker → · Palette generator →

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