#AB7DCC#AB7DCC

#AB7DCC is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.5% C 0.124 H 310.1°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AB7DCC
RGBrgb(171, 125, 204)
HSLhsl(275, 44%, 65%)
HSVhsv(275, 39%, 80%)
CMYKcmyk(16.2%, 38.7%, 0%, 20%)
CIE-LABlab(59.60, 32.59, -34.17)
CIE-LCHlch(59.60, 47.22, 313.64°)
OKLaboklab(66.49% 0.0796 -0.0945)
OKLCHoklch(66.49% 0.124 310.1)
XYZxyz(35.0253, 27.6853, 60.6137)
Luminance0.2768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7DCC #9ECC7D
analogous
#847DCC #AB7DCC #CC7DC5
triadic
#AB7DCC #CCAB7D #7DCCAB
tetradic
#AB7DCC #CC847D #9ECC7D #7DC5CC
square
#AB7DCC #CC847D #9ECC7D #7DC5CC
split-complementary
#AB7DCC #C5CC7D #7DCC84
monochromatic
#6F3A94 #8F51BB #AB7DCC #C7A9DD #E4D5EE

Accessibility & contrast

On white

3.21
#AB7DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#AB7DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7DCC
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7DCC#FFFFFF#000000##000000
##AB7DCC1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DCF
Deuteranopia (green-blind)
#7890CA
Tritanopia (blue-blind)
#A7889B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab7dcc;
/* rgb */ color: rgb(171, 125, 204);
/* oklch */ color: oklch(66.5% 0.124 310.1);
Tailwind
colors: {
  custom: {
    50: '#c5a3dc',
    500: '#ab7dcc',
    950: '#000000',
  },
}
SCSS
$custom: #ab7dcc;
$custom-light: #c5a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7dcc",
  "rgb": {
    "r": 171,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 274.937,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66485,
    "c": 0.12357,
    "h": 310.1
  },
  "luminance": 0.27685
}

Semantic roles & 50–950 ramp

primary
#AB7DCC
secondary
#D0E0C5
accent
#B72F68
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AB7DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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