#AB4ADE#AB4ADE

#AB4ADE is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.1% C 0.222 H 311.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AB4ADE
RGBrgb(171, 74, 222)
HSLhsl(279, 69%, 58%)
HSVhsv(279, 67%, 87%)
CMYKcmyk(23%, 66.7%, 0%, 12.9%)
CIE-LABlab(50.49, 62.79, -58.81)
CIE-LCHlch(50.49, 86.03, 316.87°)
OKLaboklab(60.07% 0.1476 -0.166)
OKLCHoklch(60.07% 0.222 311.6)
XYZxyz(32.4257, 18.8302, 71.0195)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4ADE #7DDE4A
analogous
#614ADE #AB4ADE #DE4AC7
triadic
#AB4ADE #DEAB4A #4ADEAB
tetradic
#AB4ADE #DE614A #7DDE4A #4AC7DE
square
#AB4ADE #DE614A #7DDE4A #4AC7DE
split-complementary
#AB4ADE #C7DE4A #4ADE61
monochromatic
#691B93 #8F24C7 #AB4ADE #C37EE7 #DBB2F1

Accessibility & contrast

On white

4.41
#AB4ADE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AB4ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4ADE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4ADE#FFFFFF#000000##000000
##AB4ADE1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#3A7ADB
Tritanopia (blue-blind)
#A5688E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4ade;
/* rgb */ color: rgb(171, 74, 222);
/* oklch */ color: oklch(60.1% 0.222 311.6);
Tailwind
colors: {
  custom: {
    50: '#c883e9',
    500: '#ab4ade',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ade;
$custom-light: #c883e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ade",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 222
  },
  "hsl": {
    "h": 279.324,
    "s": 69.159,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60065,
    "c": 0.22208,
    "h": 311.6
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

primary
#AB4ADE
secondary
#B9DFA4
accent
#EC3C79
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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