#AB8DCA#AB8DCA

#AB8DCA is a light, moderate violet. Relative luminance 0.320; OKLCH L 69.3% C 0.093 H 306.6°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#AB8DCA
RGBrgb(171, 141, 202)
HSLhsl(270, 37%, 67%)
HSVhsv(270, 30%, 79%)
CMYKcmyk(15.3%, 30.2%, 0%, 20.8%)
CIE-LABlab(63.32, 23.11, -27.29)
CIE-LCHlch(63.32, 35.76, 310.26°)
OKLaboklab(69.29% 0.0556 -0.0749)
OKLCHoklch(69.29% 0.093 306.6)
XYZxyz(36.9781, 31.9722, 60.0889)
Luminance0.3197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8DCA #ACCA8D
analogous
#8D8ECA #AB8DCA #CA8DCA
triadic
#AB8DCA #CAAB8D #8DCAAB
tetradic
#AB8DCA #CA8D8E #ACCA8D #8DCACA
square
#AB8DCA #CA8D8E #ACCA8D #8DCACA
split-complementary
#AB8DCA #CACA8D #8ECA8D
monochromatic
#6E4697 #8C63B7 #AB8DCA #CAB7DD #E9E1F1

Accessibility & contrast

On white

2.84
#AB8DCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#AB8DCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8DCA
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8DCA#FFFFFF#000000##000000
##AB8DCA1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8298CC
Deuteranopia (green-blind)
#879AC8
Tritanopia (blue-blind)
#A796A3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab8dca;
/* rgb */ color: rgb(171, 141, 202);
/* oklch */ color: oklch(69.3% 0.093 306.6);
Tailwind
colors: {
  custom: {
    50: '#c4aeda',
    500: '#ab8dca',
    950: '#000000',
  },
}
SCSS
$custom: #ab8dca;
$custom-light: #c4aeda;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8dca",
  "rgb": {
    "r": 171,
    "g": 141,
    "b": 202
  },
  "hsl": {
    "h": 269.508,
    "s": 36.527,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69285,
    "c": 0.09331,
    "h": 306.6
  },
  "luminance": 0.31972
}

Semantic roles & 50–950 ramp

primary
#AB8DCA
secondary
#DAE3D0
accent
#AF3674
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #AB8DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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