#AB88CD#AB88CD

#AB88CD is a light, moderate violet. Relative luminance 0.307; OKLCH L 68.5% C 0.106 H 307.0°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#AB88CD
RGBrgb(171, 136, 205)
HSLhsl(270, 41%, 67%)
HSVhsv(270, 34%, 80%)
CMYKcmyk(16.6%, 33.7%, 0%, 19.6%)
CIE-LABlab(62.23, 26.61, -30.65)
CIE-LCHlch(62.23, 40.59, 310.96°)
OKLaboklab(68.49% 0.0637 -0.0845)
OKLCHoklch(68.49% 0.106 307)
XYZxyz(36.6161, 30.6743, 61.7375)
Luminance0.3067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB88CD #AACD88
analogous
#8988CD #AB88CD #CD88CC
triadic
#AB88CD #CDAB88 #88CDAB
tetradic
#AB88CD #CD8988 #AACD88 #88CCCD
square
#AB88CD #CD8988 #AACD88 #88CCCD
split-complementary
#AB88CD #CCCD88 #88CD89
monochromatic
#6E419A #8D5DBB #AB88CD #C9B3DF #E8DEF1

Accessibility & contrast

On white

2.94
#AB88CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#AB88CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB88CD
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB88CD#FFFFFF#000000##000000
##AB88CD1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95D0
Deuteranopia (green-blind)
#8297CB
Tritanopia (blue-blind)
#A692A1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab88cd;
/* rgb */ color: rgb(171, 136, 205);
/* oklch */ color: oklch(68.5% 0.106 307.0);
Tailwind
colors: {
  custom: {
    50: '#c5abdc',
    500: '#ab88cd',
    950: '#000000',
  },
}
SCSS
$custom: #ab88cd;
$custom-light: #c5abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab88cd",
  "rgb": {
    "r": 171,
    "g": 136,
    "b": 205
  },
  "hsl": {
    "h": 270.435,
    "s": 40.828,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68493,
    "c": 0.10583,
    "h": 307
  },
  "luminance": 0.30674
}

Semantic roles & 50–950 ramp

primary
#AB88CD
secondary
#D8E3CD
accent
#B43272
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AB88CD

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

Preview Lab → · Contrast checker → · Palette generator →

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