#AB5DE5#AB5DE5

#AB5DE5 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.9% C 0.204 H 308.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AB5DE5
RGBrgb(171, 93, 229)
HSLhsl(274, 72%, 63%)
HSVhsv(274, 59%, 90%)
CMYKcmyk(25.3%, 59.4%, 0%, 10.2%)
CIE-LABlab(54.18, 55.37, -56.84)
CIE-LCHlch(54.18, 79.35, 314.25°)
OKLaboklab(62.87% 0.1255 -0.1603)
OKLCHoklch(62.87% 0.204 308.1)
XYZxyz(34.8489, 22.1443, 76.5520)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5DE5 #97E55D
analogous
#675DE5 #AB5DE5 #E55DDB
triadic
#AB5DE5 #E5AB5D #5DE5AB
tetradic
#AB5DE5 #E5675D #97E55D #5DDBE5
square
#AB5DE5 #E5675D #97E55D #5DDBE5
split-complementary
#AB5DE5 #DBE55D #5DE567
monochromatic
#6E1CAC #9028DD #AB5DE5 #C692ED #E2C6F6

Accessibility & contrast

On white

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

On black

5.43
#AB5DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5DE5
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5DE5#FFFFFF#000000##000000
##AB5DE51.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#237FE9
Deuteranopia (green-blind)
#4882E2
Tritanopia (blue-blind)
#A27798
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5de5;
/* rgb */ color: rgb(171, 93, 229);
/* oklch */ color: oklch(62.9% 0.204 308.1);
Tailwind
colors: {
  custom: {
    50: '#c88eee',
    500: '#ab5de5',
    950: '#000000',
  },
}
SCSS
$custom: #ab5de5;
$custom-light: #c88eee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5de5",
  "rgb": {
    "r": 171,
    "g": 93,
    "b": 229
  },
  "hsl": {
    "h": 274.412,
    "s": 72.34,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6287,
    "c": 0.20353,
    "h": 308.1
  },
  "luminance": 0.22144
}

Semantic roles & 50–950 ramp

primary
#AB5DE5
secondary
#CBE7B7
accent
#D41164
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AB5DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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