#AB7DD4#AB7DD4

#AB7DD4 is a light, vivid violet. Relative luminance 0.281; OKLCH L 66.9% C 0.133 H 307.5°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AB7DD4
RGBrgb(171, 125, 212)
HSLhsl(272, 50%, 66%)
HSVhsv(272, 41%, 83%)
CMYKcmyk(19.3%, 41%, 0%, 16.9%)
CIE-LABlab(59.96, 34.38, -38.12)
CIE-LCHlch(59.96, 51.34, 312.05°)
OKLaboklab(66.87% 0.0812 -0.1059)
OKLCHoklch(66.87% 0.133 307.5)
XYZxyz(36.0096, 28.0790, 65.7974)
Luminance0.2808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7DD4 #A6D47D
analogous
#7F7DD4 #AB7DD4 #D47DD1
triadic
#AB7DD4 #D4AB7D #7DD4AB
tetradic
#AB7DD4 #D47F7D #A6D47D #7DD1D4
square
#AB7DD4 #D47F7D #A6D47D #7DD1D4
split-complementary
#AB7DD4 #D1D47D #7DD47F
monochromatic
#6E35A1 #8D4FC5 #AB7DD4 #C9ABE3 #E6D9F2

Accessibility & contrast

On white

3.17
#AB7DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#AB7DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7DD4
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7DD4#FFFFFF#000000##000000
##AB7DD41.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8FD7
Deuteranopia (green-blind)
#7491D2
Tritanopia (blue-blind)
#A58A9E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab7dd4;
/* rgb */ color: rgb(171, 125, 212);
/* oklch */ color: oklch(66.9% 0.133 307.5);
Tailwind
colors: {
  custom: {
    50: '#c5a3e1',
    500: '#ab7dd4',
    950: '#000000',
  },
}
SCSS
$custom: #ab7dd4;
$custom-light: #c5a3e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7dd4",
  "rgb": {
    "r": 171,
    "g": 125,
    "b": 212
  },
  "hsl": {
    "h": 271.724,
    "s": 50.289,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66871,
    "c": 0.13344,
    "h": 307.5
  },
  "luminance": 0.28079
}

Semantic roles & 50–950 ramp

primary
#AB7DD4
secondary
#D6E5C8
accent
#BE286E
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AB7DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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