#AB8CD2#AB8CD2

#AB8CD2 is a light, moderate violet. Relative luminance 0.321; OKLCH L 69.5% C 0.105 H 304.1°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#AB8CD2
RGBrgb(171, 140, 210)
HSLhsl(267, 44%, 69%)
HSVhsv(267, 33%, 82%)
CMYKcmyk(18.6%, 33.3%, 0%, 17.6%)
CIE-LABlab(63.40, 25.47, -31.64)
CIE-LCHlch(63.40, 40.62, 308.83°)
OKLaboklab(69.45% 0.0592 -0.0873)
OKLCHoklch(69.45% 0.105 304.1)
XYZxyz(37.8032, 32.0673, 65.1583)
Luminance0.3207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8CD2 #B3D28C
analogous
#8C90D2 #AB8CD2 #CE8CD2
triadic
#AB8CD2 #D2AB8C #8CD2AB
tetradic
#AB8CD2 #D28C90 #B3D28C #8CD2CE
square
#AB8CD2 #D28C90 #B3D28C #8CD2CE
split-complementary
#AB8CD2 #D2CE8C #90D28C
monochromatic
#6C40A4 #8B60C1 #AB8CD2 #CBB8E3 #EBE4F4

Accessibility & contrast

On white

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

On black

7.41
#AB8CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8CD2
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8CD2#FFFFFF#000000##000000
##AB8CD21.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D99D5
Deuteranopia (green-blind)
#839AD0
Tritanopia (blue-blind)
#A597A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab8cd2;
/* rgb */ color: rgb(171, 140, 210);
/* oklch */ color: oklch(69.5% 0.105 304.1);
Tailwind
colors: {
  custom: {
    50: '#c5aee0',
    500: '#ab8cd2',
    950: '#000000',
  },
}
SCSS
$custom: #ab8cd2;
$custom-light: #c5aee0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8cd2",
  "rgb": {
    "r": 171,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 266.571,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69451,
    "c": 0.10548,
    "h": 304.1
  },
  "luminance": 0.32067
}

Semantic roles & 50–950 ramp

primary
#AB8CD2
secondary
#DEE7D2
accent
#B72F7B
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AB8CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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