#AB7CD0#AB7CD0

#AB7CD0 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.5% C 0.130 H 309.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AB7CD0
RGBrgb(171, 124, 208)
HSLhsl(274, 47%, 65%)
HSVhsv(274, 40%, 82%)
CMYKcmyk(17.8%, 40.4%, 0%, 18.4%)
CIE-LABlab(59.55, 34.04, -36.51)
CIE-LCHlch(59.55, 49.92, 313.00°)
OKLaboklab(66.5% 0.0819 -0.1012)
OKLCHoklch(66.5% 0.13 309)
XYZxyz(35.3853, 27.6277, 63.1309)
Luminance0.2763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7CD0 #A1D07C
analogous
#817CD0 #AB7CD0 #D07CCB
triadic
#AB7CD0 #D0AB7C #7CD0AB
tetradic
#AB7CD0 #D0817C #A1D07C #7CCBD0
square
#AB7CD0 #D0817C #A1D07C #7CCBD0
split-complementary
#AB7CD0 #CBD07C #7CD081
monochromatic
#6F379A #8E4FC0 #AB7CD0 #C8A9E0 #E5D6F0

Accessibility & contrast

On white

3.22
#AB7CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#AB7CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7CD0
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7CD0#FFFFFF#000000##000000
##AB7CD01.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8DD3
Deuteranopia (green-blind)
#7590CE
Tritanopia (blue-blind)
#A6899C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab7cd0;
/* rgb */ color: rgb(171, 124, 208);
/* oklch */ color: oklch(66.5% 0.130 309.0);
Tailwind
colors: {
  custom: {
    50: '#c5a2de',
    500: '#ab7cd0',
    950: '#000000',
  },
}
SCSS
$custom: #ab7cd0;
$custom-light: #c5a2de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7cd0",
  "rgb": {
    "r": 171,
    "g": 124,
    "b": 208
  },
  "hsl": {
    "h": 273.571,
    "s": 47.191,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66503,
    "c": 0.1302,
    "h": 309
  },
  "luminance": 0.27627
}

Semantic roles & 50–950 ramp

primary
#AB7CD0
secondary
#D2E2C6
accent
#BA2B6A
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AB7CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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