#AB4AEE#AB4AEE

#AB4AEE is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.1% C 0.238 H 307.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AB4AEE
RGBrgb(171, 74, 238)
HSLhsl(275, 83%, 61%)
HSVhsv(275, 69%, 93%)
CMYKcmyk(28.2%, 68.9%, 0%, 6.7%)
CIE-LABlab(51.53, 66.19, -66.16)
CIE-LCHlch(51.53, 93.58, 315.01°)
OKLaboklab(61.14% 0.1459 -0.1875)
OKLCHoklch(61.14% 0.238 307.9)
XYZxyz(34.6728, 19.7290, 82.8539)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AEE #8DEE4A
analogous
#594AEE #AB4AEE #EE4ADF
triadic
#AB4AEE #EEAB4A #4AEEAB
tetradic
#AB4AEE #EE594A #8DEE4A #4ADFEE
square
#AB4AEE #EE594A #8DEE4A #4ADFEE
split-complementary
#AB4AEE #DFEE4A #4AEE59
monochromatic
#6D10AD #9016E5 #AB4AEE #C582F3 #DFBAF9

Accessibility & contrast

On white

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

On black

4.95
#AB4AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4AEE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4AEE#FFFFFF#000000##000000
##AB4AEE1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#1F7CEA
Tritanopia (blue-blind)
#A06F97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab4aee;
/* rgb */ color: rgb(171, 74, 238);
/* oklch */ color: oklch(61.1% 0.238 307.9);
Tailwind
colors: {
  custom: {
    50: '#c984f4',
    500: '#ab4aee',
    950: '#000000',
  },
}
SCSS
$custom: #ab4aee;
$custom-light: #c984f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4aee",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 238
  },
  "hsl": {
    "h": 275.488,
    "s": 82.828,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61141,
    "c": 0.23762,
    "h": 307.9
  },
  "luminance": 0.19729
}

Semantic roles & 50–950 ramp

primary
#AB4AEE
secondary
#C4E9AB
accent
#DF065F
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140B17
muted
#827C85

Preview Lab

Preview with #AB4AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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