#AB55E8#AB55E8

#AB55E8 is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.0% C 0.218 H 308.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AB55E8
RGBrgb(171, 85, 232)
HSLhsl(275, 76%, 62%)
HSVhsv(275, 63%, 91%)
CMYKcmyk(26.3%, 63.4%, 0%, 9%)
CIE-LABlab(52.93, 59.92, -60.53)
CIE-LCHlch(52.93, 85.18, 314.71°)
OKLaboklab(62.02% 0.1347 -0.1711)
OKLCHoklch(62.02% 0.218 308.2)
XYZxyz(34.6056, 20.9816, 78.5551)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55E8 #92E855
analogous
#6255E8 #AB55E8 #E855DC
triadic
#AB55E8 #E8AB55 #55E8AB
tetradic
#AB55E8 #E86255 #92E855 #55DCE8
square
#AB55E8 #E86255 #92E855 #55DCE8
split-complementary
#AB55E8 #DCE855 #55E862
monochromatic
#6E17AB #901FE1 #AB55E8 #C68BEF #E0C1F7

Accessibility & contrast

On white

4.04
#AB55E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#AB55E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55E8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55E8#FFFFFF#000000##000000
##AB55E81.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#3B7FE5
Tritanopia (blue-blind)
#A27397
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab55e8;
/* rgb */ color: rgb(171, 85, 232);
/* oklch */ color: oklch(62.0% 0.218 308.2);
Tailwind
colors: {
  custom: {
    50: '#c88af0',
    500: '#ab55e8',
    950: '#000000',
  },
}
SCSS
$custom: #ab55e8;
$custom-light: #c88af0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55e8",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 232
  },
  "hsl": {
    "h": 275.102,
    "s": 76.166,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62022,
    "c": 0.21775,
    "h": 308.2
  },
  "luminance": 0.20981
}

Semantic roles & 50–950 ramp

primary
#AB55E8
secondary
#C8E7B1
accent
#D80D61
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB55E8

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

Preview Lab → · Contrast checker → · Palette generator →

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