#AB5EEB#AB5EEB

#AB5EEB is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.4% C 0.209 H 306.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AB5EEB
RGBrgb(171, 94, 235)
HSLhsl(273, 78%, 65%)
HSVhsv(273, 60%, 92%)
CMYKcmyk(27.2%, 60%, 0%, 7.8%)
CIE-LABlab(54.72, 56.22, -59.34)
CIE-LCHlch(54.72, 81.74, 313.45°)
OKLaboklab(63.38% 0.1242 -0.1676)
OKLCHoklch(63.38% 0.209 306.5)
XYZxyz(35.7895, 22.6618, 81.0699)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EEB #9EEB5E
analogous
#655EEB #AB5EEB #EB5EE5
triadic
#AB5EEB #EBAB5E #5EEBAB
tetradic
#AB5EEB #EB655E #9EEB5E #5EE5EB
square
#AB5EEB #EB655E #9EEB5E #5EE5EB
split-complementary
#AB5EEB #E5EB5E #5EEB65
monochromatic
#6F17B8 #8F28E4 #AB5EEB #C794F2 #E4CBF9

Accessibility & contrast

On white

3.80
#AB5EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#AB5EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EEB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EEB#FFFFFF#000000##000000
##AB5EEB1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1980EF
Deuteranopia (green-blind)
#4383E8
Tritanopia (blue-blind)
#A17A9C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab5eeb;
/* rgb */ color: rgb(171, 94, 235);
/* oklch */ color: oklch(63.4% 0.209 306.5);
Tailwind
colors: {
  custom: {
    50: '#c88ff2',
    500: '#ab5eeb',
    950: '#000000',
  },
}
SCSS
$custom: #ab5eeb;
$custom-light: #c88ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5eeb",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 272.766,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6338,
    "c": 0.20858,
    "h": 306.5
  },
  "luminance": 0.22661
}

Semantic roles & 50–950 ramp

primary
#AB5EEB
secondary
#D0EBBA
accent
#DA0B69
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB5EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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