#AB54E3#AB54E3

#AB54E3 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.6% C 0.214 H 309.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AB54E3
RGBrgb(171, 84, 227)
HSLhsl(277, 72%, 61%)
HSVhsv(277, 63%, 89%)
CMYKcmyk(24.7%, 63%, 0%, 11%)
CIE-LABlab(52.45, 59.30, -58.49)
CIE-LCHlch(52.45, 83.29, 315.39°)
OKLaboklab(61.58% 0.1361 -0.1651)
OKLCHoklch(61.58% 0.214 309.5)
XYZxyz(33.8273, 20.5453, 74.8418)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB54E3 #8CE354
analogous
#6354E3 #AB54E3 #E354D4
triadic
#AB54E3 #E3AB54 #54E3AB
tetradic
#AB54E3 #E36354 #8CE354 #54D4E3
square
#AB54E3 #E36354 #8CE354 #54D4E3
split-complementary
#AB54E3 #D4E354 #54E363
monochromatic
#6D1BA2 #9023D7 #AB54E3 #C589EC #DFBDF4

Accessibility & contrast

On white

4.11
#AB54E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#AB54E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB54E3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB54E3#FFFFFF#000000##000000
##AB54E31.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#407EE0
Tritanopia (blue-blind)
#A37194
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab54e3;
/* rgb */ color: rgb(171, 84, 227);
/* oklch */ color: oklch(61.6% 0.214 309.5);
Tailwind
colors: {
  custom: {
    50: '#c889ec',
    500: '#ab54e3',
    950: '#000000',
  },
}
SCSS
$custom: #ab54e3;
$custom-light: #c889ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ab54e3",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 227
  },
  "hsl": {
    "h": 276.503,
    "s": 71.859,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61576,
    "c": 0.21396,
    "h": 309.5
  },
  "luminance": 0.20545
}

Semantic roles & 50–950 ramp

primary
#AB54E3
secondary
#C4E4AE
accent
#D4125E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AB54E3

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

Preview Lab → · Contrast checker → · Palette generator →

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