#AB9EDD#AB9EDD

#AB9EDD is a light, moderate violet. Relative luminance 0.383; OKLCH L 73.3% C 0.091 H 293.5°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#AB9EDD
RGBrgb(171, 158, 221)
HSLhsl(252, 48%, 74%)
HSVhsv(252, 29%, 87%)
CMYKcmyk(22.6%, 28.5%, 0%, 13.3%)
CIE-LABlab(68.26, 17.84, -30.22)
CIE-LCHlch(68.26, 35.09, 300.55°)
OKLaboklab(73.33% 0.0362 -0.0833)
OKLCHoklch(73.33% 0.091 293.5)
XYZxyz(42.0696, 38.3316, 73.5749)
Luminance0.3833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9EDD #D0DD9E
analogous
#9EB1DD #AB9EDD #CB9EDD
triadic
#AB9EDD #DDAB9E #9EDDAB
tetradic
#AB9EDD #DD9EB1 #D0DD9E #9EDDCB
square
#AB9EDD #DD9EB1 #D0DD9E #9EDDCB
split-complementary
#AB9EDD #DDCB9E #B1DD9E
monochromatic
#5D43BD #8471CD #AB9EDD #D2CBED #EBE8F7

Accessibility & contrast

On white

2.42
#AB9EDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#AB9EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9EDD
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9EDD#FFFFFF#000000##000000
##AB9EDD1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA7E0
Deuteranopia (green-blind)
#90A5DB
Tritanopia (blue-blind)
#A1A8B4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ab9edd;
/* rgb */ color: rgb(171, 158, 221);
/* oklch */ color: oklch(73.3% 0.091 293.5);
Tailwind
colors: {
  custom: {
    50: '#c5bae7',
    500: '#ab9edd',
    950: '#000000',
  },
}
SCSS
$custom: #ab9edd;
$custom-light: #c5bae7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9edd",
  "rgb": {
    "r": 171,
    "g": 158,
    "b": 221
  },
  "hsl": {
    "h": 252.381,
    "s": 48.092,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73327,
    "c": 0.09089,
    "h": 293.5
  },
  "luminance": 0.38332
}

Semantic roles & 50–950 ramp

primary
#AB9EDD
secondary
#EBEEDD
accent
#BB2A9D
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AB9EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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