#AB7CCD#AB7CCD

#AB7CCD is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.4% C 0.127 H 310.0°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AB7CCD
RGBrgb(171, 124, 205)
HSLhsl(275, 45%, 65%)
HSVhsv(275, 40%, 80%)
CMYKcmyk(16.6%, 39.5%, 0%, 19.6%)
CIE-LABlab(59.42, 33.37, -35.03)
CIE-LCHlch(59.42, 48.38, 313.61°)
OKLaboklab(66.36% 0.0813 -0.0969)
OKLCHoklch(66.36% 0.127 310)
XYZxyz(35.0197, 27.4815, 61.2054)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7CCD #9ECD7C
analogous
#837CCD #AB7CCD #CD7CC6
triadic
#AB7CCD #CDAB7C #7CCDAB
tetradic
#AB7CCD #CD837C #9ECD7C #7CC6CD
square
#AB7CCD #CD837C #9ECD7C #7CC6CD
split-complementary
#AB7CCD #C6CD7C #7CCD83
monochromatic
#6F3996 #8F50BC #AB7CCD #C7A8DE #E4D5EF

Accessibility & contrast

On white

3.23
#AB7CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#AB7CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7CCD
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7CCD#FFFFFF#000000##000000
##AB7CCD1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8DD0
Deuteranopia (green-blind)
#7790CB
Tritanopia (blue-blind)
#A7889B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab7ccd;
/* rgb */ color: rgb(171, 124, 205);
/* oklch */ color: oklch(66.4% 0.127 310.0);
Tailwind
colors: {
  custom: {
    50: '#c5a2dc',
    500: '#ab7ccd',
    950: '#000000',
  },
}
SCSS
$custom: #ab7ccd;
$custom-light: #c5a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7ccd",
  "rgb": {
    "r": 171,
    "g": 124,
    "b": 205
  },
  "hsl": {
    "h": 274.815,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66358,
    "c": 0.12652,
    "h": 310
  },
  "luminance": 0.27481
}

Semantic roles & 50–950 ramp

primary
#AB7CCD
secondary
#D0E0C4
accent
#B82E68
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AB7CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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