#AB54FF#AB54FF

#AB54FF is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.5% C 0.243 H 303.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AB54FF
RGBrgb(171, 84, 255)
HSLhsl(271, 100%, 66%)
HSVhsv(271, 67%, 100%)
CMYKcmyk(32.9%, 67.1%, 0%, 0%)
CIE-LABlab(54.26, 65.54, -71.22)
CIE-LCHlch(54.26, 96.79, 312.62°)
OKLaboklab(63.45% 0.1337 -0.2025)
OKLCHoklch(63.45% 0.243 303.4)
XYZxyz(38.0107, 22.2186, 96.8745)
Luminance0.2222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB54FF #A8FF54
analogous
#5654FF #AB54FF #FF54FE
triadic
#AB54FF #FFAB54 #54FFAB
tetradic
#AB54FF #FF5654 #A8FF54 #54FEFF
square
#AB54FF #FF5654 #A8FF54 #54FEFF
split-complementary
#AB54FF #FEFF54 #54FF56
monochromatic
#6E00D9 #8D17FF #AB54FF #C991FF #E7CEFF

Accessibility & contrast

On white

3.86
#AB54FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#AB54FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB54FF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB54FF#FFFFFF#000000##000000
##AB54FF1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#9B7BA3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab54ff;
/* rgb */ color: rgb(171, 84, 255);
/* oklch */ color: oklch(63.5% 0.243 303.4);
Tailwind
colors: {
  custom: {
    50: '#ca8aff',
    500: '#ab54ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab54ff;
$custom-light: #ca8aff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab54ff",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 270.526,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63452,
    "c": 0.24264,
    "h": 303.4
  },
  "luminance": 0.22219
}

Semantic roles & 50–950 ramp

primary
#AB54FF
secondary
#D7F3BC
accent
#E60071
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C18
muted
#827D86

Preview Lab

Preview with #AB54FF

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

Preview Lab → · Contrast checker → · Palette generator →

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