#AB4AE3#AB4AE3

#AB4AE3 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.4% C 0.227 H 310.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AB4AE3
RGBrgb(171, 74, 227)
HSLhsl(278, 73%, 59%)
HSVhsv(278, 67%, 89%)
CMYKcmyk(24.7%, 67.4%, 0%, 11%)
CIE-LABlab(50.81, 63.84, -61.13)
CIE-LCHlch(50.81, 88.39, 316.24°)
OKLaboklab(60.4% 0.1471 -0.1728)
OKLCHoklch(60.4% 0.227 310.4)
XYZxyz(33.1058, 19.1023, 74.6013)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AE3 #82E34A
analogous
#5F4AE3 #AB4AE3 #E34ACF
triadic
#AB4AE3 #E3AB4A #4AE3AB
tetradic
#AB4AE3 #E35F4A #82E34A #4ACFE3
square
#AB4AE3 #E35F4A #82E34A #4ACFE3
split-complementary
#AB4AE3 #CFE34A #4AE35F
monochromatic
#6B189B #8F20D0 #AB4AE3 #C47FEB #DCB4F3

Accessibility & contrast

On white

4.36
#AB4AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#AB4AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4AE3
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4AE3#FFFFFF#000000##000000
##AB4AE31.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#337BE0
Tritanopia (blue-blind)
#A36A91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4ae3;
/* rgb */ color: rgb(171, 74, 227);
/* oklch */ color: oklch(60.4% 0.227 310.4);
Tailwind
colors: {
  custom: {
    50: '#c883ed',
    500: '#ab4ae3',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ae3;
$custom-light: #c883ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ae3",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 278.039,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60395,
    "c": 0.22694,
    "h": 310.4
  },
  "luminance": 0.19102
}

Semantic roles & 50–950 ramp

primary
#AB4AE3
secondary
#BCE2A6
accent
#F0387B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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