#AB5DE8#AB5DE8

#AB5DE8 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.1% C 0.207 H 307.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AB5DE8
RGBrgb(171, 93, 232)
HSLhsl(274, 75%, 64%)
HSVhsv(274, 60%, 91%)
CMYKcmyk(26.3%, 59.9%, 0%, 9%)
CIE-LABlab(54.36, 56.04, -58.24)
CIE-LCHlch(54.36, 80.82, 313.90°)
OKLaboklab(63.06% 0.1254 -0.1644)
OKLCHoklch(63.06% 0.207 307.3)
XYZxyz(35.2714, 22.3133, 78.7771)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5DE8 #9AE85D
analogous
#655DE8 #AB5DE8 #E85DDF
triadic
#AB5DE8 #E8AB5D #5DE8AB
tetradic
#AB5DE8 #E8655D #9AE85D #5DDFE8
square
#AB5DE8 #E8655D #9AE85D #5DDFE8
split-complementary
#AB5DE8 #DFE85D #5DE865
monochromatic
#6F19B1 #8F27E0 #AB5DE8 #C793F0 #E3C8F7

Accessibility & contrast

On white

3.84
#AB5DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#AB5DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5DE8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5DE8#FFFFFF#000000##000000
##AB5DE81.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7FEC
Deuteranopia (green-blind)
#4583E5
Tritanopia (blue-blind)
#A1789A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5de8;
/* rgb */ color: rgb(171, 93, 232);
/* oklch */ color: oklch(63.1% 0.207 307.3);
Tailwind
colors: {
  custom: {
    50: '#c88ff0',
    500: '#ab5de8',
    950: '#000000',
  },
}
SCSS
$custom: #ab5de8;
$custom-light: #c88ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5de8",
  "rgb": {
    "r": 171,
    "g": 93,
    "b": 232
  },
  "hsl": {
    "h": 273.669,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63057,
    "c": 0.20675,
    "h": 307.3
  },
  "luminance": 0.22313
}

Semantic roles & 50–950 ramp

primary
#AB5DE8
secondary
#CDE9B8
accent
#D70E66
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB5DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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