#AB4ADF#AB4ADF

#AB4ADF is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.1% C 0.223 H 311.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AB4ADF
RGBrgb(171, 74, 223)
HSLhsl(279, 70%, 58%)
HSVhsv(279, 67%, 87%)
CMYKcmyk(23.3%, 66.8%, 0%, 12.5%)
CIE-LABlab(50.55, 62.99, -59.28)
CIE-LCHlch(50.55, 86.50, 316.74°)
OKLaboklab(60.13% 0.1475 -0.1673)
OKLCHoklch(60.13% 0.223 311.4)
XYZxyz(32.5602, 18.8840, 71.7275)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4ADF #7EDF4A
analogous
#604ADF #AB4ADF #DF4AC9
triadic
#AB4ADF #DFAB4A #4ADFAB
tetradic
#AB4ADF #DF604A #7EDF4A #4AC9DF
square
#AB4ADF #DF604A #7EDF4A #4AC9DF
split-complementary
#AB4ADF #C9DF4A #4ADF60
monochromatic
#6A1A94 #8F23C8 #AB4ADF #C37EE8 #DBB2F1

Accessibility & contrast

On white

4.40
#AB4ADF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#AB4ADF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4ADF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4ADF#FFFFFF#000000##000000
##AB4ADF1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#397ADC
Tritanopia (blue-blind)
#A5698F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4adf;
/* rgb */ color: rgb(171, 74, 223);
/* oklch */ color: oklch(60.1% 0.223 311.4);
Tailwind
colors: {
  custom: {
    50: '#c883ea',
    500: '#ab4adf',
    950: '#000000',
  },
}
SCSS
$custom: #ab4adf;
$custom-light: #c883ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4adf",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 223
  },
  "hsl": {
    "h": 279.06,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60131,
    "c": 0.22305,
    "h": 311.4
  },
  "luminance": 0.18883
}

Semantic roles & 50–950 ramp

primary
#AB4ADF
secondary
#B9E0A5
accent
#ED3B79
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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