#AB5DEB#AB5DEB

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

Color values

HEX#AB5DEB
RGBrgb(171, 93, 235)
HSLhsl(273, 78%, 64%)
HSVhsv(273, 60%, 92%)
CMYKcmyk(27.2%, 60.4%, 0%, 7.8%)
CIE-LABlab(54.54, 56.72, -59.63)
CIE-LCHlch(54.54, 82.30, 313.56°)
OKLaboklab(63.25% 0.1254 -0.1684)
OKLCHoklch(63.25% 0.21 306.7)
XYZxyz(35.7012, 22.4852, 81.0405)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5DEB #9DEB5D
analogous
#645DEB #AB5DEB #EB5DE4
triadic
#AB5DEB #EBAB5D #5DEBAB
tetradic
#AB5DEB #EB645D #9DEB5D #5DE4EB
square
#AB5DEB #EB645D #9DEB5D #5DE4EB
split-complementary
#AB5DEB #E4EB5D #5DEB64
monochromatic
#6F17B7 #8F27E4 #AB5DEB #C793F2 #E3CAF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5DEB#FFFFFF#000000##000000
##AB5DEB1.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)
#1480EF
Deuteranopia (green-blind)
#4283E8
Tritanopia (blue-blind)
#A1799B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5deb;
/* rgb */ color: rgb(171, 93, 235);
/* oklch */ color: oklch(63.2% 0.210 306.7);
Tailwind
colors: {
  custom: {
    50: '#c88ff2',
    500: '#ab5deb',
    950: '#000000',
  },
}
SCSS
$custom: #ab5deb;
$custom-light: #c88ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5deb",
  "rgb": {
    "r": 171,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 272.958,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63246,
    "c": 0.20997,
    "h": 306.7
  },
  "luminance": 0.22485
}

Semantic roles & 50–950 ramp

primary
#AB5DEB
secondary
#CFEBB9
accent
#DA0B69
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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