#AB4DE6#AB4DE6

#AB4DE6 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.9% C 0.226 H 309.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AB4DE6
RGBrgb(171, 77, 230)
HSLhsl(277, 75%, 60%)
HSVhsv(277, 67%, 90%)
CMYKcmyk(25.7%, 66.5%, 0%, 9.8%)
CIE-LABlab(51.47, 63.16, -61.75)
CIE-LCHlch(51.47, 88.33, 315.64°)
OKLaboklab(60.93% 0.1437 -0.1746)
OKLCHoklch(60.93% 0.226 309.5)
XYZxyz(33.7286, 19.6795, 76.8693)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DE6 #88E64D
analogous
#5F4DE6 #AB4DE6 #E64DD4
triadic
#AB4DE6 #E6AB4D #4DE6AB
tetradic
#AB4DE6 #E65F4D #88E64D #4DD4E6
square
#AB4DE6 #E65F4D #88E64D #4DD4E6
split-complementary
#AB4DE6 #D4E64D #4DE65F
monochromatic
#6C17A2 #901ED8 #AB4DE6 #C483EE #DEB8F5

Accessibility & contrast

On white

4.25
#AB4DE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AB4DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DE6
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DE6#FFFFFF#000000##000000
##AB4DE61.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#337CE3
Tritanopia (blue-blind)
#A36D93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab4de6;
/* rgb */ color: rgb(171, 77, 230);
/* oklch */ color: oklch(60.9% 0.226 309.5);
Tailwind
colors: {
  custom: {
    50: '#c885ef',
    500: '#ab4de6',
    950: '#000000',
  },
}
SCSS
$custom: #ab4de6;
$custom-light: #c885ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4de6",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 230
  },
  "hsl": {
    "h": 276.863,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60934,
    "c": 0.22612,
    "h": 309.5
  },
  "luminance": 0.19679
}

Semantic roles & 50–950 ramp

primary
#AB4DE6
secondary
#C1E5AA
accent
#D80E5C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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