#AB54F1#AB54F1

#AB54F1 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.5% C 0.228 H 306.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AB54F1
RGBrgb(171, 84, 241)
HSLhsl(273, 85%, 64%)
HSVhsv(273, 65%, 95%)
CMYKcmyk(29%, 65.1%, 0%, 5.5%)
CIE-LABlab(53.33, 62.39, -64.93)
CIE-LCHlch(53.33, 90.05, 313.85°)
OKLaboklab(62.49% 0.1352 -0.184)
OKLCHoklch(62.49% 0.228 306.3)
XYZxyz(35.8387, 21.3498, 85.4349)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB54F1 #9AF154
analogous
#5C54F1 #AB54F1 #F154E9
triadic
#AB54F1 #F1AB54 #54F1AB
tetradic
#AB54F1 #F15C54 #9AF154 #54E9F1
square
#AB54F1 #F15C54 #9AF154 #54E9F1
split-complementary
#AB54F1 #E9F154 #54F15C
monochromatic
#6F0FBB #8F1BEC #AB54F1 #C78DF6 #E3C5FA

Accessibility & contrast

On white

3.98
#AB54F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#AB54F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB54F1
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB54F1#FFFFFF#000000##000000
##AB54F11.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF6
Deuteranopia (green-blind)
#2C80EE
Tritanopia (blue-blind)
#9F769C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab54f1;
/* rgb */ color: rgb(171, 84, 241);
/* oklch */ color: oklch(62.5% 0.228 306.3);
Tailwind
colors: {
  custom: {
    50: '#c989f6',
    500: '#ab54f1',
    950: '#000000',
  },
}
SCSS
$custom: #ab54f1;
$custom-light: #c989f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab54f1",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 273.248,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62493,
    "c": 0.22831,
    "h": 306.3
  },
  "luminance": 0.21349
}

Semantic roles & 50–950 ramp

primary
#AB54F1
secondary
#CDECB5
accent
#E10467
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB54F1

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

Preview Lab → · Contrast checker → · Palette generator →

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