#AB7CD3#AB7CD3

#AB7CD3 is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.6% C 0.134 H 308.0°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AB7CD3
RGBrgb(171, 124, 211)
HSLhsl(272, 50%, 66%)
HSVhsv(272, 41%, 83%)
CMYKcmyk(19%, 41.2%, 0%, 17.3%)
CIE-LABlab(59.69, 34.72, -37.99)
CIE-LCHlch(59.69, 51.46, 312.42°)
OKLaboklab(66.65% 0.0825 -0.1055)
OKLCHoklch(66.65% 0.134 308)
XYZxyz(35.7579, 27.7768, 65.0931)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7CD3 #A4D37C
analogous
#7F7CD3 #AB7CD3 #D37CCF
triadic
#AB7CD3 #D3AB7C #7CD3AB
tetradic
#AB7CD3 #D37F7C #A4D37C #7CCFD3
square
#AB7CD3 #D37F7C #A4D37C #7CCFD3
split-complementary
#AB7CD3 #CFD37C #7CD37F
monochromatic
#6F359F #8E4EC4 #AB7CD3 #C8AAE2 #E6D8F2

Accessibility & contrast

On white

3.20
#AB7CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#AB7CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7CD3
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7CD3#FFFFFF#000000##000000
##AB7CD31.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ED6
Deuteranopia (green-blind)
#7490D1
Tritanopia (blue-blind)
#A6899D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab7cd3;
/* rgb */ color: rgb(171, 124, 211);
/* oklch */ color: oklch(66.6% 0.134 308.0);
Tailwind
colors: {
  custom: {
    50: '#c5a2e1',
    500: '#ab7cd3',
    950: '#000000',
  },
}
SCSS
$custom: #ab7cd3;
$custom-light: #c5a2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7cd3",
  "rgb": {
    "r": 171,
    "g": 124,
    "b": 211
  },
  "hsl": {
    "h": 272.414,
    "s": 49.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6665,
    "c": 0.13389,
    "h": 308
  },
  "luminance": 0.27776
}

Semantic roles & 50–950 ramp

primary
#AB7CD3
secondary
#D4E4C7
accent
#BD286D
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AB7CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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