#AB4DDE#AB4DDE

#AB4DDE is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.4% C 0.218 H 311.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AB4DDE
RGBrgb(171, 77, 222)
HSLhsl(279, 69%, 59%)
HSVhsv(279, 65%, 87%)
CMYKcmyk(23%, 65.3%, 0%, 12.9%)
CIE-LABlab(50.97, 61.45, -58.04)
CIE-LCHlch(50.97, 84.53, 316.64°)
OKLaboklab(60.41% 0.1443 -0.1637)
OKLCHoklch(60.41% 0.218 311.4)
XYZxyz(32.6308, 19.2404, 71.0879)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DDE #80DE4D
analogous
#624DDE #AB4DDE #DE4DC8
triadic
#AB4DDE #DEAB4D #4DDEAB
tetradic
#AB4DDE #DE624D #80DE4D #4DC8DE
square
#AB4DDE #DE624D #80DE4D #4DC8DE
split-complementary
#AB4DDE #C8DE4D #4DDE62
monochromatic
#6A1C95 #8F25C9 #AB4DDE #C381E8 #DCB4F1

Accessibility & contrast

On white

4.33
#AB4DDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AB4DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DDE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DDE#FFFFFF#000000##000000
##AB4DDE1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#3D7BDB
Tritanopia (blue-blind)
#A56A8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4dde;
/* rgb */ color: rgb(171, 77, 222);
/* oklch */ color: oklch(60.4% 0.218 311.4);
Tailwind
colors: {
  custom: {
    50: '#c885e9',
    500: '#ab4dde',
    950: '#000000',
  },
}
SCSS
$custom: #ab4dde;
$custom-light: #c885e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4dde",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 278.897,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60409,
    "c": 0.21823,
    "h": 311.4
  },
  "luminance": 0.1924
}

Semantic roles & 50–950 ramp

primary
#AB4DDE
secondary
#BBE0A7
accent
#EC3C7A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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