#AB4EED#AB4EED

#AB4EED is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.5% C 0.232 H 307.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AB4EED
RGBrgb(171, 78, 237)
HSLhsl(275, 82%, 62%)
HSVhsv(275, 67%, 93%)
CMYKcmyk(27.8%, 67.1%, 0%, 7.1%)
CIE-LABlab(52.09, 64.23, -64.70)
CIE-LCHlch(52.09, 91.17, 314.79°)
OKLaboklab(61.52% 0.1419 -0.1833)
OKLCHoklch(61.52% 0.232 307.8)
XYZxyz(34.8019, 20.2216, 82.1741)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4EED #90ED4E
analogous
#5C4EED #AB4EED #ED4EE0
triadic
#AB4EED #EDAB4E #4EEDAB
tetradic
#AB4EED #ED5C4E #90ED4E #4EE0ED
square
#AB4EED #ED5C4E #90ED4E #4EE0ED
split-complementary
#AB4EED #E0ED4E #4EED5C
monochromatic
#6E12AF #9017E6 #AB4EED #C586F3 #E0BDF8

Accessibility & contrast

On white

4.16
#AB4EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#AB4EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4EED
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4EED#FFFFFF#000000##000000
##AB4EED1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#297DEA
Tritanopia (blue-blind)
#A17198
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab4eed;
/* rgb */ color: rgb(171, 78, 237);
/* oklch */ color: oklch(61.5% 0.232 307.8);
Tailwind
colors: {
  custom: {
    50: '#c986f4',
    500: '#ab4eed',
    950: '#000000',
  },
}
SCSS
$custom: #ab4eed;
$custom-light: #c986f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4eed",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 237
  },
  "hsl": {
    "h": 275.094,
    "s": 81.538,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61518,
    "c": 0.23181,
    "h": 307.8
  },
  "luminance": 0.20221
}

Semantic roles & 50–950 ramp

primary
#AB4EED
secondary
#C6E9AE
accent
#DE0861
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB4EED

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

Preview Lab → · Contrast checker → · Palette generator →

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