#AB9CED#AB9CED

#AB9CED is a light, moderate violet. Relative luminance 0.385; OKLCH L 73.7% C 0.116 H 291.8°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#AB9CED
RGBrgb(171, 156, 237)
HSLhsl(251, 69%, 77%)
HSVhsv(251, 34%, 93%)
CMYKcmyk(27.8%, 34.2%, 0%, 7.1%)
CIE-LABlab(68.42, 22.80, -38.76)
CIE-LCHlch(68.42, 44.97, 300.46°)
OKLaboklab(73.66% 0.0431 -0.1078)
OKLCHoklch(73.66% 0.116 291.8)
XYZxyz(43.9653, 38.5485, 85.2286)
Luminance0.3855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9CED #DEED9C
analogous
#9CB6ED #AB9CED #D49CED
triadic
#AB9CED #EDAB9C #9CEDAB
tetradic
#AB9CED #ED9CB6 #DEED9C #9CEDD4
square
#AB9CED #ED9CB6 #DEED9C #9CEDD4
split-complementary
#AB9CED #EDD49C #B6ED9C
monochromatic
#5334DA #7F68E4 #AB9CED #D7D0F6 #E9E5FA

Accessibility & contrast

On white

2.41
#AB9CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#AB9CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9CED
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9CED#FFFFFF#000000##000000
##AB9CED1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A8F0
Deuteranopia (green-blind)
#87A5EB
Tritanopia (blue-blind)
#9CAABA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ab9ced;
/* rgb */ color: rgb(171, 156, 237);
/* oklch */ color: oklch(73.7% 0.116 291.8);
Tailwind
colors: {
  custom: {
    50: '#c5b9f3',
    500: '#ab9ced',
    950: '#000000',
  },
}
SCSS
$custom: #ab9ced;
$custom-light: #c5b9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9ced",
  "rgb": {
    "r": 171,
    "g": 156,
    "b": 237
  },
  "hsl": {
    "h": 251.111,
    "s": 69.231,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73664,
    "c": 0.11612,
    "h": 291.8
  },
  "luminance": 0.38549
}

Semantic roles & 50–950 ramp

primary
#AB9CED
secondary
#EDF2D9
accent
#D114AE
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AB9CED

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

Preview Lab → · Contrast checker → · Palette generator →

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