#AB5EE8#AB5EE8

#AB5EE8 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.2% C 0.205 H 307.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AB5EE8
RGBrgb(171, 94, 232)
HSLhsl(273, 75%, 64%)
HSVhsv(273, 59%, 91%)
CMYKcmyk(26.3%, 59.5%, 0%, 9%)
CIE-LABlab(54.54, 55.54, -57.94)
CIE-LCHlch(54.54, 80.26, 313.79°)
OKLaboklab(63.19% 0.1242 -0.1635)
OKLCHoklch(63.19% 0.205 307.2)
XYZxyz(35.3598, 22.4899, 78.8065)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EE8 #9BE85E
analogous
#665EE8 #AB5EE8 #E85EE0
triadic
#AB5EE8 #E8AB5E #5EE8AB
tetradic
#AB5EE8 #E8665E #9BE85E #5EE0E8
square
#AB5EE8 #E8665E #9BE85E #5EE0E8
split-complementary
#AB5EE8 #E0E85E #5EE866
monochromatic
#6F19B2 #8F28E0 #AB5EE8 #C794F0 #E3C9F7

Accessibility & contrast

On white

3.82
#AB5EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#AB5EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EE8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EE8#FFFFFF#000000##000000
##AB5EE81.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2080EC
Deuteranopia (green-blind)
#4683E5
Tritanopia (blue-blind)
#A1799A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5ee8;
/* rgb */ color: rgb(171, 94, 232);
/* oklch */ color: oklch(63.2% 0.205 307.2);
Tailwind
colors: {
  custom: {
    50: '#c88ff0',
    500: '#ab5ee8',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ee8;
$custom-light: #c88ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ee8",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 273.478,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63192,
    "c": 0.20534,
    "h": 307.2
  },
  "luminance": 0.2249
}

Semantic roles & 50–950 ramp

primary
#AB5EE8
secondary
#CEE9B9
accent
#D70E67
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB5EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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