#AB99EF#AB99EF

#AB99EF is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.2% C 0.123 H 292.7°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#AB99EF
RGBrgb(171, 153, 239)
HSLhsl(253, 73%, 77%)
HSVhsv(253, 36%, 94%)
CMYKcmyk(28.5%, 36%, 0%, 6.3%)
CIE-LABlab(67.78, 24.98, -40.87)
CIE-LCHlch(67.78, 47.90, 301.44°)
OKLaboklab(73.2% 0.0476 -0.1139)
OKLCHoklch(73.2% 0.123 292.7)
XYZxyz(43.7619, 37.6717, 86.6104)
Luminance0.3767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB99EF #DDEF99
analogous
#99B2EF #AB99EF #D699EF
triadic
#AB99EF #EFAB99 #99EFAB
tetradic
#AB99EF #EF99B2 #DDEF99 #99EFD6
square
#AB99EF #EF99B2 #DDEF99 #99EFD6
split-complementary
#AB99EF #EFD699 #B2EF99
monochromatic
#542FDE #7F64E7 #AB99EF #D7CEF7 #E9E5FB

Accessibility & contrast

On white

2.46
#AB99EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#AB99EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB99EF
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB99EF#FFFFFF#000000##000000
##AB99EF1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F2
Deuteranopia (green-blind)
#83A4ED
Tritanopia (blue-blind)
#9CA8B9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ab99ef;
/* rgb */ color: rgb(171, 153, 239);
/* oklch */ color: oklch(73.2% 0.123 292.7);
Tailwind
colors: {
  custom: {
    50: '#c6b7f4',
    500: '#ab99ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab99ef;
$custom-light: #c6b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab99ef",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 252.558,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.73199,
    "c": 0.12344,
    "h": 292.7
  },
  "luminance": 0.37672
}

Semantic roles & 50–950 ramp

primary
#AB99EF
secondary
#EDF3D8
accent
#D511AC
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AB99EF

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

Preview Lab → · Contrast checker → · Palette generator →

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