#AB54F0#AB54F0

#AB54F0 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.4% C 0.227 H 306.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AB54F0
RGBrgb(171, 84, 240)
HSLhsl(273, 84%, 64%)
HSVhsv(273, 65%, 94%)
CMYKcmyk(28.8%, 65%, 0%, 5.9%)
CIE-LABlab(53.27, 62.16, -64.48)
CIE-LCHlch(53.27, 89.56, 313.95°)
OKLaboklab(62.43% 0.1353 -0.1826)
OKLCHoklch(62.43% 0.227 306.5)
XYZxyz(35.6897, 21.2902, 84.6504)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB54F0 #99F054
analogous
#5D54F0 #AB54F0 #F054E7
triadic
#AB54F0 #F0AB54 #54F0AB
tetradic
#AB54F0 #F05D54 #99F054 #54E7F0
square
#AB54F0 #F05D54 #99F054 #54E7F0
split-complementary
#AB54F0 #E7F054 #54F05D
monochromatic
#6F10B9 #8F1CEB #AB54F0 #C78CF5 #E2C5FA

Accessibility & contrast

On white

3.99
#AB54F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#AB54F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB54F0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB54F0#FFFFFF#000000##000000
##AB54F01.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF5
Deuteranopia (green-blind)
#2E80ED
Tritanopia (blue-blind)
#9F759B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab54f0;
/* rgb */ color: rgb(171, 84, 240);
/* oklch */ color: oklch(62.4% 0.227 306.5);
Tailwind
colors: {
  custom: {
    50: '#c989f6',
    500: '#ab54f0',
    950: '#000000',
  },
}
SCSS
$custom: #ab54f0;
$custom-light: #c989f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab54f0",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 240
  },
  "hsl": {
    "h": 273.462,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62426,
    "c": 0.22728,
    "h": 306.5
  },
  "luminance": 0.2129
}

Semantic roles & 50–950 ramp

primary
#AB54F0
secondary
#CDECB4
accent
#E00566
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB54F0

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

Preview Lab → · Contrast checker → · Palette generator →

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