#AB5EE1#AB5EE1

#AB5EE1 is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.8% C 0.198 H 308.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AB5EE1
RGBrgb(171, 94, 225)
HSLhsl(275, 69%, 63%)
HSVhsv(275, 58%, 88%)
CMYKcmyk(24%, 58.2%, 0%, 11.8%)
CIE-LABlab(54.13, 53.97, -54.66)
CIE-LCHlch(54.13, 76.82, 314.64°)
OKLaboklab(62.76% 0.1242 -0.1539)
OKLCHoklch(62.76% 0.198 308.9)
XYZxyz(34.3852, 22.1001, 73.6739)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EE1 #94E15E
analogous
#695EE1 #AB5EE1 #E15ED6
triadic
#AB5EE1 #E1AB5E #5EE1AB
tetradic
#AB5EE1 #E1695E #94E15E #5ED6E1
square
#AB5EE1 #E1695E #94E15E #5ED6E1
split-complementary
#AB5EE1 #D6E15E #5EE169
monochromatic
#6E1FA6 #902AD7 #AB5EE1 #C692EB #E1C5F4

Accessibility & contrast

On white

3.87
#AB5EE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#AB5EE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EE1
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EE1#FFFFFF#000000##000000
##AB5EE11.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7EE5
Deuteranopia (green-blind)
#4D82DE
Tritanopia (blue-blind)
#A37797
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5ee1;
/* rgb */ color: rgb(171, 94, 225);
/* oklch */ color: oklch(62.8% 0.198 308.9);
Tailwind
colors: {
  custom: {
    50: '#c78feb',
    500: '#ab5ee1',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ee1;
$custom-light: #c78feb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ee1",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 225
  },
  "hsl": {
    "h": 275.267,
    "s": 68.586,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62761,
    "c": 0.19778,
    "h": 308.9
  },
  "luminance": 0.221
}

Semantic roles & 50–950 ramp

primary
#AB5EE1
secondary
#C9E5B6
accent
#D11562
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB5EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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