#AB4DE5#AB4DE5

#AB4DE5 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.9% C 0.225 H 309.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AB4DE5
RGBrgb(171, 77, 229)
HSLhsl(277, 75%, 60%)
HSVhsv(277, 66%, 90%)
CMYKcmyk(25.3%, 66.4%, 0%, 10.2%)
CIE-LABlab(51.41, 62.94, -61.29)
CIE-LCHlch(51.41, 87.85, 315.76°)
OKLaboklab(60.87% 0.1438 -0.1732)
OKLCHoklch(60.87% 0.225 309.7)
XYZxyz(33.5885, 19.6235, 76.1318)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DE5 #87E54D
analogous
#5F4DE5 #AB4DE5 #E54DD3
triadic
#AB4DE5 #E5AB4D #4DE5AB
tetradic
#AB4DE5 #E55F4D #87E54D #4DD3E5
square
#AB4DE5 #E55F4D #87E54D #4DD3E5
split-complementary
#AB4DE5 #D3E54D #4DE55F
monochromatic
#6C17A0 #901FD6 #AB4DE5 #C482ED #DDB8F5

Accessibility & contrast

On white

4.26
#AB4DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#AB4DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DE5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DE5#FFFFFF#000000##000000
##AB4DE51.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#347CE2
Tritanopia (blue-blind)
#A36D93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab4de5;
/* rgb */ color: rgb(171, 77, 229);
/* oklch */ color: oklch(60.9% 0.225 309.7);
Tailwind
colors: {
  custom: {
    50: '#c885ee',
    500: '#ab4de5',
    950: '#000000',
  },
}
SCSS
$custom: #ab4de5;
$custom-light: #c885ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4de5",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 277.105,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.60867,
    "c": 0.22513,
    "h": 309.7
  },
  "luminance": 0.19623
}

Semantic roles & 50–950 ramp

primary
#AB4DE5
secondary
#C0E4AA
accent
#F1377E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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