#AB8DCD#AB8DCD

#AB8DCD is a light, moderate violet. Relative luminance 0.321; OKLCH L 69.4% C 0.097 H 305.5°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#AB8DCD
RGBrgb(171, 141, 205)
HSLhsl(268, 39%, 68%)
HSVhsv(268, 31%, 80%)
CMYKcmyk(16.6%, 31.2%, 0%, 19.6%)
CIE-LABlab(63.44, 23.78, -28.79)
CIE-LCHlch(63.44, 37.34, 309.56°)
OKLaboklab(69.42% 0.0564 -0.0792)
OKLCHoklch(69.42% 0.097 305.5)
XYZxyz(37.3368, 32.1156, 61.9777)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8DCD #AFCD8D
analogous
#8D8FCD #AB8DCD #CB8DCD
triadic
#AB8DCD #CDAB8D #8DCDAB
tetradic
#AB8DCD #CD8D8F #AFCD8D #8DCDCB
square
#AB8DCD #CD8D8F #AFCD8D #8DCDCB
split-complementary
#AB8DCD #CDCB8D #8FCD8D
monochromatic
#6D449B #8C62BA #AB8DCD #CAB8E0 #EAE2F2

Accessibility & contrast

On white

2.83
#AB8DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#AB8DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8DCD
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8DCD#FFFFFF#000000##000000
##AB8DCD1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8099D0
Deuteranopia (green-blind)
#869ACB
Tritanopia (blue-blind)
#A696A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab8dcd;
/* rgb */ color: rgb(171, 141, 205);
/* oklch */ color: oklch(69.4% 0.097 305.5);
Tailwind
colors: {
  custom: {
    50: '#c5aedc',
    500: '#ab8dcd',
    950: '#000000',
  },
}
SCSS
$custom: #ab8dcd;
$custom-light: #c5aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8dcd",
  "rgb": {
    "r": 171,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 268.125,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69415,
    "c": 0.09721,
    "h": 305.5
  },
  "luminance": 0.32115
}

Semantic roles & 50–950 ramp

primary
#AB8DCD
secondary
#DCE5D1
accent
#B23377
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AB8DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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