#AB99EB#AB99EB

#AB99EB is a light, moderate violet. Relative luminance 0.374; OKLCH L 73.0% C 0.118 H 293.3°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#AB99EB
RGBrgb(171, 153, 235)
HSLhsl(253, 67%, 76%)
HSVhsv(253, 35%, 92%)
CMYKcmyk(27.2%, 34.9%, 0%, 7.8%)
CIE-LABlab(67.60, 24.00, -38.94)
CIE-LCHlch(67.60, 45.75, 301.65°)
OKLaboklab(73.01% 0.0467 -0.1083)
OKLCHoklch(73.01% 0.118 293.3)
XYZxyz(43.1776, 37.4379, 83.5326)
Luminance0.3744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB99EB #D9EB99
analogous
#99B0EB #AB99EB #D499EB
triadic
#AB99EB #EBAB99 #99EBAB
tetradic
#AB99EB #EB99B0 #D9EB99 #99EBD4
square
#AB99EB #EB99B0 #D9EB99 #99EBD4
split-complementary
#AB99EB #EBD499 #B0EB99
monochromatic
#5733D7 #8166E1 #AB99EB #D5CCF5 #EAE5FA

Accessibility & contrast

On white

2.47
#AB99EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#AB99EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB99EB
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB99EB#FFFFFF#000000##000000
##AB99EB1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6EE
Deuteranopia (green-blind)
#85A3E9
Tritanopia (blue-blind)
#9DA7B7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ab99eb;
/* rgb */ color: rgb(171, 153, 235);
/* oklch */ color: oklch(73.0% 0.118 293.3);
Tailwind
colors: {
  custom: {
    50: '#c5b7f1',
    500: '#ab99eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab99eb;
$custom-light: #c5b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab99eb",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 235
  },
  "hsl": {
    "h": 253.171,
    "s": 67.213,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7301,
    "c": 0.11798,
    "h": 293.3
  },
  "luminance": 0.37439
}

Semantic roles & 50–950 ramp

primary
#AB99EB
secondary
#ECF1DA
accent
#CF16A7
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AB99EB

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

Preview Lab → · Contrast checker → · Palette generator →

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