#AB4EDE#AB4EDE

#AB4EDE is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.217 H 311.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AB4EDE
RGBrgb(171, 78, 222)
HSLhsl(279, 69%, 59%)
HSVhsv(279, 65%, 87%)
CMYKcmyk(23%, 64.9%, 0%, 12.9%)
CIE-LABlab(51.13, 61.00, -57.78)
CIE-LCHlch(51.13, 84.02, 316.55°)
OKLaboklab(60.53% 0.1432 -0.163)
OKLCHoklch(60.53% 0.217 311.3)
XYZxyz(32.7013, 19.3814, 71.1114)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4EDE #81DE4E
analogous
#634EDE #AB4EDE #DE4EC9
triadic
#AB4EDE #DEAB4E #4EDEAB
tetradic
#AB4EDE #DE634E #81DE4E #4EC9DE
square
#AB4EDE #DE634E #81DE4E #4EC9DE
split-complementary
#AB4EDE #C9DE4E #4EDE63
monochromatic
#6B1C96 #8F26C9 #AB4EDE #C382E8 #DCB5F1

Accessibility & contrast

On white

4.31
#AB4EDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AB4EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4EDE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4EDE#FFFFFF#000000##000000
##AB4EDE1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#3E7CDB
Tritanopia (blue-blind)
#A56B8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab4ede;
/* rgb */ color: rgb(171, 78, 222);
/* oklch */ color: oklch(60.5% 0.217 311.3);
Tailwind
colors: {
  custom: {
    50: '#c885e9',
    500: '#ab4ede',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ede;
$custom-light: #c885e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ede",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 222
  },
  "hsl": {
    "h": 278.75,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60527,
    "c": 0.21692,
    "h": 311.3
  },
  "luminance": 0.19381
}

Semantic roles & 50–950 ramp

primary
#AB4EDE
secondary
#BCE0A8
accent
#EB3C7A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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