#AB7DCD#AB7DCD

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

Color values

HEX#AB7DCD
RGBrgb(171, 125, 205)
HSLhsl(275, 44%, 65%)
HSVhsv(275, 39%, 80%)
CMYKcmyk(16.6%, 39%, 0%, 19.6%)
CIE-LABlab(59.65, 32.81, -34.67)
CIE-LCHlch(59.65, 47.74, 313.42°)
OKLaboklab(66.53% 0.0798 -0.0959)
OKLCHoklch(66.53% 0.125 309.8)
XYZxyz(35.1456, 27.7334, 61.2474)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7DCD #9FCD7D
analogous
#837DCD #AB7DCD #CD7DC7
triadic
#AB7DCD #CDAB7D #7DCDAB
tetradic
#AB7DCD #CD837D #9FCD7D #7DC7CD
square
#AB7DCD #CD837D #9FCD7D #7DC7CD
split-complementary
#AB7DCD #C7CD7D #7DCD83
monochromatic
#6F3A96 #8E51BC #AB7DCD #C8A9DE #E4D5EF

Accessibility & contrast

On white

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

On black

6.55
#AB7DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7DCD
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7DCD#FFFFFF#000000##000000
##AB7DCD1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8ED0
Deuteranopia (green-blind)
#7890CB
Tritanopia (blue-blind)
#A7899B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab7dcd;
/* rgb */ color: rgb(171, 125, 205);
/* oklch */ color: oklch(66.5% 0.125 309.8);
Tailwind
colors: {
  custom: {
    50: '#c5a3dc',
    500: '#ab7dcd',
    950: '#000000',
  },
}
SCSS
$custom: #ab7dcd;
$custom-light: #c5a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7dcd",
  "rgb": {
    "r": 171,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 274.5,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66532,
    "c": 0.1248,
    "h": 309.8
  },
  "luminance": 0.27733
}

Semantic roles & 50–950 ramp

primary
#AB7DCD
secondary
#D1E1C5
accent
#B82E68
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AB7DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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