#AB9BE2#AB9BE2

#AB9BE2 is a light, moderate violet. Relative luminance 0.376; OKLCH L 73.0% C 0.103 H 294.1°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#AB9BE2
RGBrgb(171, 155, 226)
HSLhsl(254, 55%, 75%)
HSVhsv(254, 31%, 89%)
CMYKcmyk(24.3%, 31.4%, 0%, 11.4%)
CIE-LABlab(67.72, 20.71, -33.82)
CIE-LCHlch(67.72, 39.66, 301.48°)
OKLaboklab(72.97% 0.0418 -0.0936)
OKLCHoklch(72.97% 0.103 294.1)
XYZxyz(42.2402, 37.5911, 76.9672)
Luminance0.3759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9BE2 #D2E29B
analogous
#9BAFE2 #AB9BE2 #CF9BE2
triadic
#AB9BE2 #E2AB9B #9BE2AB
tetradic
#AB9BE2 #E29BAF #D2E29B #9BE2CF
square
#AB9BE2 #E29BAF #D2E29B #9BE2CF
split-complementary
#AB9BE2 #E2CF9B #AFE29B
monochromatic
#5B3CC6 #836CD4 #AB9BE2 #D3CAF0 #EBE7F8

Accessibility & contrast

On white

2.47
#AB9BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#AB9BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9BE2
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9BE2#FFFFFF#000000##000000
##AB9BE21.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A6E5
Deuteranopia (green-blind)
#8BA4E0
Tritanopia (blue-blind)
#A0A7B5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ab9be2;
/* rgb */ color: rgb(171, 155, 226);
/* oklch */ color: oklch(73.0% 0.103 294.1);
Tailwind
colors: {
  custom: {
    50: '#c5b8eb',
    500: '#ab9be2',
    950: '#000000',
  },
}
SCSS
$custom: #ab9be2;
$custom-light: #c5b8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9be2",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 226
  },
  "hsl": {
    "h": 253.521,
    "s": 55.039,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72973,
    "c": 0.10252,
    "h": 294.1
  },
  "luminance": 0.37592
}

Semantic roles & 50–950 ramp

primary
#AB9BE2
secondary
#EBEFDC
accent
#C3239F
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AB9BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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