#AB80CB#AB80CB

#AB80CB is a light, moderate violet. Relative luminance 0.284; OKLCH L 67.0% C 0.117 H 309.8°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AB80CB
RGBrgb(171, 128, 203)
HSLhsl(274, 42%, 65%)
HSVhsv(274, 37%, 80%)
CMYKcmyk(15.8%, 36.9%, 0%, 20.4%)
CIE-LABlab(60.26, 30.68, -32.60)
CIE-LCHlch(60.26, 44.77, 313.27°)
OKLaboklab(66.96% 0.075 -0.09)
OKLCHoklch(66.96% 0.117 309.8)
XYZxyz(35.2913, 28.4085, 60.1126)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB80CB #A0CB80
analogous
#8680CB #AB80CB #CB80C5
triadic
#AB80CB #CBAB80 #80CBAB
tetradic
#AB80CB #CB8680 #A0CB80 #80C5CB
square
#AB80CB #CB8680 #A0CB80 #80C5CB
split-complementary
#AB80CB #C5CB80 #80CB86
monochromatic
#6F3D94 #8E55B9 #AB80CB #C8ABDD #E4D7EF

Accessibility & contrast

On white

3.14
#AB80CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#AB80CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB80CB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB80CB#FFFFFF#000000##000000
##AB80CB1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#728FCE
Deuteranopia (green-blind)
#7B92C9
Tritanopia (blue-blind)
#A78B9C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab80cb;
/* rgb */ color: rgb(171, 128, 203);
/* oklch */ color: oklch(67.0% 0.117 309.8);
Tailwind
colors: {
  custom: {
    50: '#c5a5db',
    500: '#ab80cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab80cb;
$custom-light: #c5a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab80cb",
  "rgb": {
    "r": 171,
    "g": 128,
    "b": 203
  },
  "hsl": {
    "h": 274.4,
    "s": 41.899,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66964,
    "c": 0.11716,
    "h": 309.8
  },
  "luminance": 0.28408
}

Semantic roles & 50–950 ramp

primary
#AB80CB
secondary
#D2E0C7
accent
#B53169
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AB80CB

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

Preview Lab → · Contrast checker → · Palette generator →

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