#AB5CE5#AB5CE5

#AB5CE5 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.7% C 0.205 H 308.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AB5CE5
RGBrgb(171, 92, 229)
HSLhsl(275, 72%, 63%)
HSVhsv(275, 60%, 90%)
CMYKcmyk(25.3%, 59.8%, 0%, 10.2%)
CIE-LABlab(54.00, 55.86, -57.14)
CIE-LCHlch(54.00, 79.91, 314.36°)
OKLaboklab(62.74% 0.1267 -0.1611)
OKLCHoklch(62.74% 0.205 308.2)
XYZxyz(34.7617, 21.9699, 76.5229)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CE5 #96E55C
analogous
#675CE5 #AB5CE5 #E55CDA
triadic
#AB5CE5 #E5AB5C #5CE5AB
tetradic
#AB5CE5 #E5675C #96E55C #5CDAE5
square
#AB5CE5 #E5675C #96E55C #5CDAE5
split-complementary
#AB5CE5 #DAE55C #5CE567
monochromatic
#6E1BAB #9027DD #AB5CE5 #C691ED #E1C6F6

Accessibility & contrast

On white

3.89
#AB5CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#AB5CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CE5
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CE5#FFFFFF#000000##000000
##AB5CE51.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#207EE9
Deuteranopia (green-blind)
#4782E2
Tritanopia (blue-blind)
#A27798
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5ce5;
/* rgb */ color: rgb(171, 92, 229);
/* oklch */ color: oklch(62.7% 0.205 308.2);
Tailwind
colors: {
  custom: {
    50: '#c88eee',
    500: '#ab5ce5',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ce5;
$custom-light: #c88eee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ce5",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 274.599,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62736,
    "c": 0.20495,
    "h": 308.2
  },
  "luminance": 0.21969
}

Semantic roles & 50–950 ramp

primary
#AB5CE5
secondary
#CBE7B6
accent
#D51164
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AB5CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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