#AB5CEE#AB5CEE

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

Color values

HEX#AB5CEE
RGBrgb(171, 92, 238)
HSLhsl(272, 81%, 65%)
HSVhsv(272, 61%, 93%)
CMYKcmyk(28.2%, 61.3%, 0%, 6.7%)
CIE-LABlab(54.54, 57.89, -61.31)
CIE-LCHlch(54.54, 84.32, 313.36°)
OKLaboklab(63.31% 0.1264 -0.1734)
OKLCHoklch(63.31% 0.215 306.1)
XYZxyz(36.0510, 22.4856, 83.3133)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CEE #9FEE5C
analogous
#625CEE #AB5CEE #EE5CE8
triadic
#AB5CEE #EEAB5C #5CEEAB
tetradic
#AB5CEE #EE625C #9FEE5C #5CE8EE
square
#AB5CEE #EE625C #9FEE5C #5CE8EE
split-complementary
#AB5CEE #E8EE5C #5CEE62
monochromatic
#6F14BC #8E25E8 #AB5CEE #C893F4 #E4CBFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5CEE#FFFFFF#000000##000000
##AB5CEE1.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)
#0080F3
Deuteranopia (green-blind)
#3D83EB
Tritanopia (blue-blind)
#A07A9D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5cee;
/* rgb */ color: rgb(171, 92, 238);
/* oklch */ color: oklch(63.3% 0.215 306.1);
Tailwind
colors: {
  custom: {
    50: '#c88ef4',
    500: '#ab5cee',
    950: '#000000',
  },
}
SCSS
$custom: #ab5cee;
$custom-light: #c88ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5cee",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 272.466,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63305,
    "c": 0.21457,
    "h": 306.1
  },
  "luminance": 0.22485
}

Semantic roles & 50–950 ramp

primary
#AB5CEE
secondary
#D1ECBA
accent
#DD086A
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140D17
muted
#827D85

Preview Lab

Preview with #AB5CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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