#AB9FE2#AB9FE2

#AB9FE2 is a light, moderate violet. Relative luminance 0.389; OKLCH L 73.7% C 0.096 H 292.1°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#AB9FE2
RGBrgb(171, 159, 226)
HSLhsl(251, 54%, 75%)
HSVhsv(251, 30%, 89%)
CMYKcmyk(24.3%, 29.6%, 0%, 11.4%)
CIE-LABlab(68.71, 18.46, -32.28)
CIE-LCHlch(68.71, 37.18, 299.76°)
OKLaboklab(73.74% 0.0362 -0.0892)
OKLCHoklch(73.74% 0.096 292.1)
XYZxyz(42.9169, 38.9446, 77.1927)
Luminance0.3895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9FE2 #D6E29F
analogous
#9FB4E2 #AB9FE2 #CC9FE2
triadic
#AB9FE2 #E2AB9F #9FE2AB
tetradic
#AB9FE2 #E29FB4 #D6E29F #9FE2CC
square
#AB9FE2 #E29FB4 #D6E29F #9FE2CC
split-complementary
#AB9FE2 #E2CC9F #B4E29F
monochromatic
#5941C6 #8270D4 #AB9FE2 #D4CEF0 #EAE7F8

Accessibility & contrast

On white

2.39
#AB9FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#AB9FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9FE2
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9FE2#FFFFFF#000000##000000
##AB9FE21.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA9E5
Deuteranopia (green-blind)
#8FA6E0
Tritanopia (blue-blind)
#9FAAB7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ab9fe2;
/* rgb */ color: rgb(171, 159, 226);
/* oklch */ color: oklch(73.7% 0.096 292.1);
Tailwind
colors: {
  custom: {
    50: '#c5bbeb',
    500: '#ab9fe2',
    950: '#000000',
  },
}
SCSS
$custom: #ab9fe2;
$custom-light: #c5bbeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9fe2",
  "rgb": {
    "r": 171,
    "g": 159,
    "b": 226
  },
  "hsl": {
    "h": 250.746,
    "s": 53.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73736,
    "c": 0.09629,
    "h": 292.1
  },
  "luminance": 0.38945
}

Semantic roles & 50–950 ramp

primary
#AB9FE2
secondary
#ECEFDC
accent
#C124A5
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AB9FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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