#AB9DDD#AB9DDD

#AB9DDD is a light, moderate violet. Relative luminance 0.380; OKLCH L 73.1% C 0.092 H 294.0°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#AB9DDD
RGBrgb(171, 157, 221)
HSLhsl(253, 48%, 74%)
HSVhsv(253, 29%, 87%)
CMYKcmyk(22.6%, 29%, 0%, 13.3%)
CIE-LABlab(68.01, 18.40, -30.61)
CIE-LCHlch(68.01, 35.71, 301.02°)
OKLaboklab(73.13% 0.0377 -0.0844)
OKLCHoklch(73.13% 0.092 294)
XYZxyz(41.8997, 37.9919, 73.5183)
Luminance0.3799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9DDD #CFDD9D
analogous
#9DAFDD #AB9DDD #CB9DDD
triadic
#AB9DDD #DDAB9D #9DDDAB
tetradic
#AB9DDD #DD9DAF #CFDD9D #9DDDCB
square
#AB9DDD #DD9DAF #CFDD9D #9DDDCB
split-complementary
#AB9DDD #DDCB9D #AFDD9D
monochromatic
#5D42BD #8470CD #AB9DDD #D2CAED #ECE8F7

Accessibility & contrast

On white

2.44
#AB9DDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#AB9DDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9DDD
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9DDD#FFFFFF#000000##000000
##AB9DDD1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA6E0
Deuteranopia (green-blind)
#8FA5DB
Tritanopia (blue-blind)
#A1A7B4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ab9ddd;
/* rgb */ color: rgb(171, 157, 221);
/* oklch */ color: oklch(73.1% 0.092 294.0);
Tailwind
colors: {
  custom: {
    50: '#c5bae7',
    500: '#ab9ddd',
    950: '#000000',
  },
}
SCSS
$custom: #ab9ddd;
$custom-light: #c5bae7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9ddd",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 221
  },
  "hsl": {
    "h": 253.125,
    "s": 48.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73135,
    "c": 0.09245,
    "h": 294
  },
  "luminance": 0.37992
}

Semantic roles & 50–950 ramp

primary
#AB9DDD
secondary
#EAEEDD
accent
#BC2A9C
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AB9DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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