#AB8CD8#AB8CD8

#AB8CD8 is a light, moderate violet. Relative luminance 0.324; OKLCH L 69.7% C 0.113 H 302.3°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#AB8CD8
RGBrgb(171, 140, 216)
HSLhsl(264, 49%, 70%)
HSVhsv(264, 35%, 85%)
CMYKcmyk(20.8%, 35.2%, 0%, 15.3%)
CIE-LABlab(63.65, 26.84, -34.60)
CIE-LCHlch(63.65, 43.79, 307.80°)
OKLaboklab(69.72% 0.0606 -0.0958)
OKLCHoklch(69.72% 0.113 302.3)
XYZxyz(38.5647, 32.3720, 69.1692)
Luminance0.3237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8CD8 #B9D88C
analogous
#8C93D8 #AB8CD8 #D18CD8
triadic
#AB8CD8 #D8AB8C #8CD8AB
tetradic
#AB8CD8 #D88C93 #B9D88C #8CD8D1
square
#AB8CD8 #D88C93 #B9D88C #8CD8D1
split-complementary
#AB8CD8 #D8D18C #93D88C
monochromatic
#6A3BAE #8A5EC9 #AB8CD8 #CCBAE7 #EEE7F7

Accessibility & contrast

On white

2.81
#AB8CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#AB8CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8CD8
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8CD8#FFFFFF#000000##000000
##AB8CD81.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9ADB
Deuteranopia (green-blind)
#819AD6
Tritanopia (blue-blind)
#A398A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab8cd8;
/* rgb */ color: rgb(171, 140, 216);
/* oklch */ color: oklch(69.7% 0.113 302.3);
Tailwind
colors: {
  custom: {
    50: '#c5aee4',
    500: '#ab8cd8',
    950: '#000000',
  },
}
SCSS
$custom: #ab8cd8;
$custom-light: #c5aee4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8cd8",
  "rgb": {
    "r": 171,
    "g": 140,
    "b": 216
  },
  "hsl": {
    "h": 264.474,
    "s": 49.351,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69724,
    "c": 0.11335,
    "h": 302.3
  },
  "luminance": 0.32372
}

Semantic roles & 50–950 ramp

primary
#AB8CD8
secondary
#E2EBD5
accent
#BD2980
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AB8CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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