#AB5CE8#AB5CE8

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

Color values

HEX#AB5CE8
RGBrgb(171, 92, 232)
HSLhsl(274, 75%, 64%)
HSVhsv(274, 60%, 91%)
CMYKcmyk(26.3%, 60.3%, 0%, 9%)
CIE-LABlab(54.17, 56.54, -58.53)
CIE-LCHlch(54.17, 81.38, 314.00°)
OKLaboklab(62.92% 0.1266 -0.1652)
OKLCHoklch(62.92% 0.208 307.5)
XYZxyz(35.1842, 22.1389, 78.7480)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CE8 #99E85C
analogous
#655CE8 #AB5CE8 #E85CDF
triadic
#AB5CE8 #E8AB5C #5CE8AB
tetradic
#AB5CE8 #E8655C #99E85C #5CDFE8
square
#AB5CE8 #E8655C #99E85C #5CDFE8
split-complementary
#AB5CE8 #DFE85C #5CE865
monochromatic
#6F19B1 #8F26E0 #AB5CE8 #C792F0 #E2C7F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5CE8#FFFFFF#000000##000000
##AB5CE81.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)
#187FEC
Deuteranopia (green-blind)
#4482E5
Tritanopia (blue-blind)
#A1789A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5ce8;
/* rgb */ color: rgb(171, 92, 232);
/* oklch */ color: oklch(62.9% 0.208 307.5);
Tailwind
colors: {
  custom: {
    50: '#c88ef0',
    500: '#ab5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ce8;
$custom-light: #c88ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ce8",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 273.857,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62924,
    "c": 0.20816,
    "h": 307.5
  },
  "luminance": 0.22138
}

Semantic roles & 50–950 ramp

primary
#AB5CE8
secondary
#CDE9B7
accent
#D70E66
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130D17
muted
#827D85

Preview Lab

Preview with #AB5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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