#AB9BEC#AB9BEC

#AB9BEC is a light, moderate violet. Relative luminance 0.382; OKLCH L 73.4% C 0.116 H 292.4°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#AB9BEC
RGBrgb(171, 155, 236)
HSLhsl(252, 68%, 77%)
HSVhsv(252, 34%, 93%)
CMYKcmyk(27.5%, 34.3%, 0%, 7.5%)
CIE-LABlab(68.14, 23.12, -38.66)
CIE-LCHlch(68.14, 45.05, 300.87°)
OKLaboklab(73.43% 0.0442 -0.1075)
OKLCHoklch(73.43% 0.116 292.4)
XYZxyz(43.6525, 38.1561, 84.4056)
Luminance0.3816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9BEC #DCEC9B
analogous
#9BB4EC #AB9BEC #D49BEC
triadic
#AB9BEC #ECAB9B #9BECAB
tetradic
#AB9BEC #EC9BB4 #DCEC9B #9BECD4
square
#AB9BEC #EC9BB4 #DCEC9B #9BECD4
split-complementary
#AB9BEC #ECD49B #B4EC9B
monochromatic
#5534D8 #8068E2 #AB9BEC #D6CEF6 #E9E5FA

Accessibility & contrast

On white

2.43
#AB9BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#AB9BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9BEC
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9BEC#FFFFFF#000000##000000
##AB9BEC1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EF
Deuteranopia (green-blind)
#87A5EA
Tritanopia (blue-blind)
#9DA9B9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ab9bec;
/* rgb */ color: rgb(171, 155, 236);
/* oklch */ color: oklch(73.4% 0.116 292.4);
Tailwind
colors: {
  custom: {
    50: '#c5b8f2',
    500: '#ab9bec',
    950: '#000000',
  },
}
SCSS
$custom: #ab9bec;
$custom-light: #c5b8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9bec",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 236
  },
  "hsl": {
    "h": 251.852,
    "s": 68.067,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7343,
    "c": 0.11627,
    "h": 292.4
  },
  "luminance": 0.38157
}

Semantic roles & 50–950 ramp

primary
#AB9BEC
secondary
#EDF2D9
accent
#D016AB
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AB9BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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