#AB7FCD#AB7FCD

#AB7FCD is a light, vivid violet. Relative luminance 0.282; OKLCH L 66.9% C 0.121 H 309.3°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AB7FCD
RGBrgb(171, 127, 205)
HSLhsl(274, 44%, 65%)
HSVhsv(274, 38%, 80%)
CMYKcmyk(16.6%, 38%, 0%, 19.6%)
CIE-LABlab(60.11, 31.69, -33.95)
CIE-LCHlch(60.11, 46.44, 313.03°)
OKLaboklab(66.88% 0.0769 -0.0939)
OKLCHoklch(66.88% 0.121 309.3)
XYZxyz(35.4014, 28.2449, 61.3326)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7FCD #A1CD7F
analogous
#847FCD #AB7FCD #CD7FC8
triadic
#AB7FCD #CDAB7F #7FCDAB
tetradic
#AB7FCD #CD847F #A1CD7F #7FC8CD
square
#AB7FCD #CD847F #A1CD7F #7FC8CD
split-complementary
#AB7FCD #C8CD7F #7FCD84
monochromatic
#6F3B97 #8E53BC #AB7FCD #C8ABDE #E5D7EF

Accessibility & contrast

On white

3.16
#AB7FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#AB7FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7FCD
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7FCD#FFFFFF#000000##000000
##AB7FCD1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8FD0
Deuteranopia (green-blind)
#7A92CB
Tritanopia (blue-blind)
#A78A9C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab7fcd;
/* rgb */ color: rgb(171, 127, 205);
/* oklch */ color: oklch(66.9% 0.121 309.3);
Tailwind
colors: {
  custom: {
    50: '#c5a4dc',
    500: '#ab7fcd',
    950: '#000000',
  },
}
SCSS
$custom: #ab7fcd;
$custom-light: #c5a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7fcd",
  "rgb": {
    "r": 171,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 273.846,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66881,
    "c": 0.12136,
    "h": 309.3
  },
  "luminance": 0.28244
}

Semantic roles & 50–950 ramp

primary
#AB7FCD
secondary
#D2E1C7
accent
#B72F6A
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AB7FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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