#AB4EDD#AB4EDD

#AB4EDD is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.5% C 0.216 H 311.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AB4EDD
RGBrgb(171, 78, 221)
HSLhsl(279, 68%, 59%)
HSVhsv(279, 65%, 87%)
CMYKcmyk(22.6%, 64.7%, 0%, 13.3%)
CIE-LABlab(51.07, 60.79, -57.31)
CIE-LCHlch(51.07, 83.55, 316.69°)
OKLaboklab(60.46% 0.1432 -0.1616)
OKLCHoklch(60.46% 0.216 311.6)
XYZxyz(32.5677, 19.3280, 70.4076)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4EDD #80DD4E
analogous
#634EDD #AB4EDD #DD4EC7
triadic
#AB4EDD #DDAB4E #4EDDAB
tetradic
#AB4EDD #DD634E #80DD4E #4EC7DD
square
#AB4EDD #DD634E #80DD4E #4EC7DD
split-complementary
#AB4EDD #C7DD4E #4EDD63
monochromatic
#6A1C94 #8F26C7 #AB4EDD #C381E7 #DCB5F1

Accessibility & contrast

On white

4.32
#AB4EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#AB4EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4EDD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4EDD#FFFFFF#000000##000000
##AB4EDD1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab4edd;
/* rgb */ color: rgb(171, 78, 221);
/* oklch */ color: oklch(60.5% 0.216 311.6);
Tailwind
colors: {
  custom: {
    50: '#c885e8',
    500: '#ab4edd',
    950: '#000000',
  },
}
SCSS
$custom: #ab4edd;
$custom-light: #c885e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4edd",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 221
  },
  "hsl": {
    "h": 279.021,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60463,
    "c": 0.21592,
    "h": 311.6
  },
  "luminance": 0.19327
}

Semantic roles & 50–950 ramp

primary
#AB4EDD
secondary
#BBE0A7
accent
#EB3D7A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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