#AB4AE9#AB4AE9

#AB4AE9 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.8% C 0.233 H 309.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AB4AE9
RGBrgb(171, 74, 233)
HSLhsl(277, 78%, 60%)
HSVhsv(277, 68%, 91%)
CMYKcmyk(26.6%, 68.2%, 0%, 8.6%)
CIE-LABlab(51.20, 65.11, -63.89)
CIE-LCHlch(51.20, 91.22, 315.54°)
OKLaboklab(60.8% 0.1465 -0.1809)
OKLCHoklch(60.8% 0.233 309)
XYZxyz(33.9484, 19.4393, 79.0388)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AE9 #88E94A
analogous
#5C4AE9 #AB4AE9 #E94AD7
triadic
#AB4AE9 #E9AB4A #4AE9AB
tetradic
#AB4AE9 #E95C4A #88E94A #4AD7E9
square
#AB4AE9 #E95C4A #88E94A #4AD7E9
split-complementary
#AB4AE9 #D7E94A #4AE95C
monochromatic
#6C14A5 #901BDB #AB4AE9 #C481F0 #DEB7F6

Accessibility & contrast

On white

4.30
#AB4AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#AB4AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4AE9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4AE9#FFFFFF#000000##000000
##AB4AE91.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EE
Deuteranopia (green-blind)
#2A7BE6
Tritanopia (blue-blind)
#A26D94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab4ae9;
/* rgb */ color: rgb(171, 74, 233);
/* oklch */ color: oklch(60.8% 0.233 309.0);
Tailwind
colors: {
  custom: {
    50: '#c984f1',
    500: '#ab4ae9',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ae9;
$custom-light: #c984f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ae9",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 233
  },
  "hsl": {
    "h": 276.604,
    "s": 78.325,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60798,
    "c": 0.23276,
    "h": 309
  },
  "luminance": 0.19439
}

Semantic roles & 50–950 ramp

primary
#AB4AE9
secondary
#C1E6A9
accent
#DB0B5C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AB4AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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