#A54CE1#A54CE1

#A54CE1 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.8% C 0.221 H 308.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A54CE1
RGBrgb(165, 76, 225)
HSLhsl(276, 71%, 59%)
HSVhsv(276, 66%, 88%)
CMYKcmyk(26.7%, 66.2%, 0%, 11.8%)
CIE-LABlab(50.22, 61.27, -60.98)
CIE-LCHlch(50.22, 86.44, 315.13°)
OKLaboklab(59.77% 0.1376 -0.1725)
OKLCHoklch(59.77% 0.221 308.6)
XYZxyz(31.6893, 18.6050, 73.1413)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CE1 #88E14C
analogous
#5B4CE1 #A54CE1 #E14CD3
triadic
#A54CE1 #E1A54C #4CE1A5
tetradic
#A54CE1 #E15B4C #88E14C #4CD3E1
square
#A54CE1 #E15B4C #88E14C #4CD3E1
split-complementary
#A54CE1 #D3E14C #4CE15B
monochromatic
#661A99 #8922CD #A54CE1 #BF80EA #DAB5F3

Accessibility & contrast

On white

4.45
#A54CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A54CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54CE1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54CE1#FFFFFF#000000##000000
##A54CE11.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#2F79DE
Tritanopia (blue-blind)
#9C6C90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a54ce1;
/* rgb */ color: rgb(165, 76, 225);
/* oklch */ color: oklch(59.8% 0.221 308.6);
Tailwind
colors: {
  custom: {
    50: '#c484eb',
    500: '#a54ce1',
    950: '#000000',
  },
}
SCSS
$custom: #a54ce1;
$custom-light: #c484eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ce1",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 275.839,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5977,
    "c": 0.22066,
    "h": 308.6
  },
  "luminance": 0.18604
}

Semantic roles & 50–950 ramp

primary
#A54CE1
secondary
#BFE2A7
accent
#EE3A82
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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