#AB5EE4#AB5EE4

#AB5EE4 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 62.9% C 0.201 H 308.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AB5EE4
RGBrgb(171, 94, 228)
HSLhsl(274, 71%, 63%)
HSVhsv(274, 59%, 89%)
CMYKcmyk(25%, 58.8%, 0%, 10.6%)
CIE-LABlab(54.31, 54.64, -56.07)
CIE-LCHlch(54.31, 78.29, 314.26°)
OKLaboklab(62.94% 0.1242 -0.158)
OKLCHoklch(62.94% 0.201 308.2)
XYZxyz(34.7981, 22.2653, 75.8482)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EE4 #97E45E
analogous
#685EE4 #AB5EE4 #E45EDA
triadic
#AB5EE4 #E4AB5E #5EE4AB
tetradic
#AB5EE4 #E4685E #97E45E #5EDAE4
square
#AB5EE4 #E4685E #97E45E #5EDAE4
split-complementary
#AB5EE4 #DAE45E #5EE468
monochromatic
#6E1DAB #902ADB #AB5EE4 #C692ED #E2C7F6

Accessibility & contrast

On white

3.85
#AB5EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#AB5EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EE4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EE4#FFFFFF#000000##000000
##AB5EE41.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#287FE8
Deuteranopia (green-blind)
#4A83E1
Tritanopia (blue-blind)
#A37898
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5ee4;
/* rgb */ color: rgb(171, 94, 228);
/* oklch */ color: oklch(62.9% 0.201 308.2);
Tailwind
colors: {
  custom: {
    50: '#c78fed',
    500: '#ab5ee4',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ee4;
$custom-light: #c78fed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ee4",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 274.478,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62945,
    "c": 0.20101,
    "h": 308.2
  },
  "luminance": 0.22265
}

Semantic roles & 50–950 ramp

primary
#AB5EE4
secondary
#CBE7B7
accent
#D31264
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB5EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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