#AB8CD5#AB8CD5

#AB8CD5 is a light, moderate violet. Relative luminance 0.322; OKLCH L 69.6% C 0.109 H 303.2°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#AB8CD5
RGBrgb(171, 140, 213)
HSLhsl(265, 46%, 69%)
HSVhsv(265, 34%, 84%)
CMYKcmyk(19.7%, 34.3%, 0%, 16.5%)
CIE-LABlab(63.52, 26.15, -33.13)
CIE-LCHlch(63.52, 42.21, 308.29°)
OKLaboklab(69.59% 0.0599 -0.0916)
OKLCHoklch(69.59% 0.109 303.2)
XYZxyz(38.1804, 32.2182, 67.1452)
Luminance0.3222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8CD5 #B6D58C
analogous
#8C92D5 #AB8CD5 #D08CD5
triadic
#AB8CD5 #D5AB8C #8CD5AB
tetradic
#AB8CD5 #D58C92 #B6D58C #8CD5D0
square
#AB8CD5 #D58C92 #B6D58C #8CD5D0
split-complementary
#AB8CD5 #D5D08C #92D58C
monochromatic
#6B3EA9 #8A5FC5 #AB8CD5 #CCB9E5 #ECE6F6

Accessibility & contrast

On white

2.82
#AB8CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#AB8CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8CD5
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8CD5#FFFFFF#000000##000000
##AB8CD51.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C99D8
Deuteranopia (green-blind)
#829AD3
Tritanopia (blue-blind)
#A497A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab8cd5;
/* rgb */ color: rgb(171, 140, 213);
/* oklch */ color: oklch(69.6% 0.109 303.2);
Tailwind
colors: {
  custom: {
    50: '#c5aee2',
    500: '#ab8cd5',
    950: '#000000',
  },
}
SCSS
$custom: #ab8cd5;
$custom-light: #c5aee2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8cd5",
  "rgb": {
    "r": 171,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 265.479,
    "s": 46.497,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69587,
    "c": 0.10941,
    "h": 303.2
  },
  "luminance": 0.32218
}

Semantic roles & 50–950 ramp

primary
#AB8CD5
secondary
#E0E9D4
accent
#BA2C7D
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AB8CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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