#AB4AE6#AB4AE6

#AB4AE6 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.6% C 0.230 H 309.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AB4AE6
RGBrgb(171, 74, 230)
HSLhsl(277, 76%, 60%)
HSVhsv(277, 68%, 90%)
CMYKcmyk(25.7%, 67.8%, 0%, 9.8%)
CIE-LABlab(51.00, 64.47, -62.51)
CIE-LCHlch(51.00, 89.80, 315.88°)
OKLaboklab(60.6% 0.1468 -0.1768)
OKLCHoklch(60.6% 0.23 309.7)
XYZxyz(33.5235, 19.2693, 76.8009)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AE6 #85E64A
analogous
#5D4AE6 #AB4AE6 #E64AD3
triadic
#AB4AE6 #E6AB4A #4AE6AB
tetradic
#AB4AE6 #E65D4A #85E64A #4AD3E6
square
#AB4AE6 #E65D4A #85E64A #4AD3E6
split-complementary
#AB4AE6 #D3E64A #4AE65D
monochromatic
#6C16A0 #901DD5 #AB4AE6 #C480ED #DDB6F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB4AE6#FFFFFF#000000##000000
##AB4AE61.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)
#0075EB
Deuteranopia (green-blind)
#2F7BE3
Tritanopia (blue-blind)
#A36C93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4ae6;
/* rgb */ color: rgb(171, 74, 230);
/* oklch */ color: oklch(60.6% 0.230 309.7);
Tailwind
colors: {
  custom: {
    50: '#c984ef',
    500: '#ab4ae6',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ae6;
$custom-light: #c984ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ae6",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 277.308,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60596,
    "c": 0.22984,
    "h": 309.7
  },
  "luminance": 0.19269
}

Semantic roles & 50–950 ramp

primary
#AB4AE6
secondary
#BFE4A8
accent
#F2357D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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