#A54FE5#A54FE5

#A54FE5 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.4% C 0.221 H 307.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A54FE5
RGBrgb(165, 79, 229)
HSLhsl(274, 74%, 60%)
HSVhsv(274, 66%, 90%)
CMYKcmyk(27.9%, 65.5%, 0%, 10.2%)
CIE-LABlab(50.98, 60.77, -62.03)
CIE-LCHlch(50.98, 86.84, 314.42°)
OKLaboklab(60.4% 0.134 -0.1756)
OKLCHoklch(60.4% 0.221 307.3)
XYZxyz(32.4529, 19.2489, 76.1193)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FE5 #8FE54F
analogous
#5A4FE5 #A54FE5 #E54FDA
triadic
#A54FE5 #E5A54F #4FE5A5
tetradic
#A54FE5 #E55A4F #8FE54F #4FDAE5
square
#A54FE5 #E55A4F #8FE54F #4FDAE5
split-complementary
#A54FE5 #DAE54F #4FE55A
monochromatic
#6718A2 #8920D7 #A54FE5 #C084ED #DCBAF5

Accessibility & contrast

On white

4.33
#A54FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#A54FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FE5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FE5#FFFFFF#000000##000000
##A54FE51.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#2E7AE2
Tritanopia (blue-blind)
#9B6F94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a54fe5;
/* rgb */ color: rgb(165, 79, 229);
/* oklch */ color: oklch(60.4% 0.221 307.3);
Tailwind
colors: {
  custom: {
    50: '#c486ee',
    500: '#a54fe5',
    950: '#000000',
  },
}
SCSS
$custom: #a54fe5;
$custom-light: #c486ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fe5",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 274.4,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60395,
    "c": 0.22088,
    "h": 307.3
  },
  "luminance": 0.19248
}

Semantic roles & 50–950 ramp

primary
#A54FE5
secondary
#C4E5AB
accent
#D60F64
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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