#AB4ADC#AB4ADC

#AB4ADC is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.9% C 0.220 H 312.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AB4ADC
RGBrgb(171, 74, 220)
HSLhsl(280, 68%, 58%)
HSVhsv(280, 66%, 86%)
CMYKcmyk(22.3%, 66.4%, 0%, 13.7%)
CIE-LABlab(50.36, 62.37, -57.88)
CIE-LCHlch(50.36, 85.09, 317.14°)
OKLaboklab(59.94% 0.1477 -0.1632)
OKLCHoklch(59.94% 0.22 312.1)
XYZxyz(32.1593, 18.7236, 69.6162)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4ADC #7BDC4A
analogous
#624ADC #AB4ADC #DC4AC4
triadic
#AB4ADC #DCAB4A #4ADCAB
tetradic
#AB4ADC #DC624A #7BDC4A #4AC4DC
square
#AB4ADC #DC624A #7BDC4A #4AC4DC
split-complementary
#AB4ADC #C4DC4A #4ADC62
monochromatic
#691C90 #8E26C3 #AB4ADC #C37DE6 #DBB1F0

Accessibility & contrast

On white

4.43
#AB4ADC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#AB4ADC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4ADC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4ADC#FFFFFF#000000##000000
##AB4ADC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#3C7AD9
Tritanopia (blue-blind)
#A5688D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4adc;
/* rgb */ color: rgb(171, 74, 220);
/* oklch */ color: oklch(59.9% 0.220 312.1);
Tailwind
colors: {
  custom: {
    50: '#c883e8',
    500: '#ab4adc',
    950: '#000000',
  },
}
SCSS
$custom: #ab4adc;
$custom-light: #c883e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4adc",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 220
  },
  "hsl": {
    "h": 279.863,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59935,
    "c": 0.22014,
    "h": 312.1
  },
  "luminance": 0.18723
}

Semantic roles & 50–950 ramp

primary
#AB4ADC
secondary
#B7DEA4
accent
#EA3D77
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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