#AB54E0#AB54E0

#AB54E0 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.4% C 0.211 H 310.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AB54E0
RGBrgb(171, 84, 224)
HSLhsl(277, 69%, 60%)
HSVhsv(277, 63%, 88%)
CMYKcmyk(23.7%, 62.5%, 0%, 12.2%)
CIE-LABlab(52.27, 58.65, -57.09)
CIE-LCHlch(52.27, 81.85, 315.77°)
OKLaboklab(61.39% 0.1362 -0.161)
OKLCHoklch(61.39% 0.211 310.2)
XYZxyz(33.4169, 20.3811, 72.6801)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB54E0 #89E054
analogous
#6554E0 #AB54E0 #E054CF
triadic
#AB54E0 #E0AB54 #54E0AB
tetradic
#AB54E0 #E06554 #89E054 #54CFE0
square
#AB54E0 #E06554 #89E054 #54CFE0
split-complementary
#AB54E0 #CFE054 #54E065
monochromatic
#6C1C9D #9026D1 #AB54E0 #C488E9 #DEBCF3

Accessibility & contrast

On white

4.14
#AB54E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#AB54E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB54E0
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB54E0#FFFFFF#000000##000000
##AB54E01.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0979E4
Deuteranopia (green-blind)
#437EDD
Tritanopia (blue-blind)
#A47093
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab54e0;
/* rgb */ color: rgb(171, 84, 224);
/* oklch */ color: oklch(61.4% 0.211 310.2);
Tailwind
colors: {
  custom: {
    50: '#c889ea',
    500: '#ab54e0',
    950: '#000000',
  },
}
SCSS
$custom: #ab54e0;
$custom-light: #c889ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab54e0",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 224
  },
  "hsl": {
    "h": 277.286,
    "s": 69.307,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61385,
    "c": 0.21088,
    "h": 310.2
  },
  "luminance": 0.2038
}

Semantic roles & 50–950 ramp

primary
#AB54E0
secondary
#C1E3AD
accent
#D1145C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB54E0

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

Preview Lab → · Contrast checker → · Palette generator →

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