#AB9DED#AB9DED

#AB9DED is a light, moderate violet. Relative luminance 0.389; OKLCH L 73.9% C 0.115 H 291.4°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#AB9DED
RGBrgb(171, 157, 237)
HSLhsl(251, 69%, 77%)
HSVhsv(251, 34%, 93%)
CMYKcmyk(27.8%, 33.8%, 0%, 7.1%)
CIE-LABlab(68.67, 22.23, -38.38)
CIE-LCHlch(68.67, 44.35, 300.08°)
OKLaboklab(73.85% 0.0417 -0.1067)
OKLCHoklch(73.85% 0.115 291.4)
XYZxyz(44.1338, 38.8855, 85.2848)
Luminance0.3889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9DED #DFED9D
analogous
#9DB7ED #AB9DED #D39DED
triadic
#AB9DED #EDAB9D #9DEDAB
tetradic
#AB9DED #ED9DB7 #DFED9D #9DEDD3
square
#AB9DED #ED9DB7 #DFED9D #9DEDD3
split-complementary
#AB9DED #EDD39D #B7ED9D
monochromatic
#5236DA #7F69E4 #AB9DED #D7D1F6 #E9E5FA

Accessibility & contrast

On white

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

On black

8.78
#AB9DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9DED
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9DED#FFFFFF#000000##000000
##AB9DED1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9F0
Deuteranopia (green-blind)
#88A6EB
Tritanopia (blue-blind)
#9CABBA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ab9ded;
/* rgb */ color: rgb(171, 157, 237);
/* oklch */ color: oklch(73.9% 0.115 291.4);
Tailwind
colors: {
  custom: {
    50: '#c5baf3',
    500: '#ab9ded',
    950: '#000000',
  },
}
SCSS
$custom: #ab9ded;
$custom-light: #c5baf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9ded",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 237
  },
  "hsl": {
    "h": 250.5,
    "s": 68.966,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73852,
    "c": 0.11459,
    "h": 291.4
  },
  "luminance": 0.38886
}

Semantic roles & 50–950 ramp

primary
#AB9DED
secondary
#EEF2D9
accent
#D115B0
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AB9DED

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

Preview Lab → · Contrast checker → · Palette generator →

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