#AB5CE4#AB5CE4

#AB5CE4 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.7% C 0.204 H 308.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AB5CE4
RGBrgb(171, 92, 228)
HSLhsl(275, 72%, 63%)
HSVhsv(275, 60%, 89%)
CMYKcmyk(25%, 59.6%, 0%, 10.6%)
CIE-LABlab(53.94, 55.64, -56.67)
CIE-LCHlch(53.94, 79.42, 314.48°)
OKLaboklab(62.67% 0.1267 -0.1598)
OKLCHoklch(62.67% 0.204 308.4)
XYZxyz(34.6225, 21.9142, 75.7897)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CE4 #95E45C
analogous
#675CE4 #AB5CE4 #E45CD9
triadic
#AB5CE4 #E4AB5C #5CE4AB
tetradic
#AB5CE4 #E4675C #95E45C #5CD9E4
square
#AB5CE4 #E4675C #95E45C #5CD9E4
split-complementary
#AB5CE4 #D9E45C #5CE467
monochromatic
#6E1CAA #9027DB #AB5CE4 #C691ED #E1C5F5

Accessibility & contrast

On white

3.90
#AB5CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#AB5CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CE4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CE4#FFFFFF#000000##000000
##AB5CE41.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#227EE8
Deuteranopia (green-blind)
#4882E1
Tritanopia (blue-blind)
#A37697
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5ce4;
/* rgb */ color: rgb(171, 92, 228);
/* oklch */ color: oklch(62.7% 0.204 308.4);
Tailwind
colors: {
  custom: {
    50: '#c88eed',
    500: '#ab5ce4',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ce4;
$custom-light: #c88eed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ce4",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 274.853,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62674,
    "c": 0.20388,
    "h": 308.4
  },
  "luminance": 0.21914
}

Semantic roles & 50–950 ramp

primary
#AB5CE4
secondary
#CAE7B5
accent
#D41263
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AB5CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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