#A54FE8#A54FE8

#A54FE8 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.6% C 0.224 H 306.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A54FE8
RGBrgb(165, 79, 232)
HSLhsl(274, 77%, 61%)
HSVhsv(274, 66%, 91%)
CMYKcmyk(28.9%, 65.9%, 0%, 9%)
CIE-LABlab(51.17, 61.44, -63.40)
CIE-LCHlch(51.17, 88.29, 314.10°)
OKLaboklab(60.6% 0.1337 -0.1796)
OKLCHoklch(60.6% 0.224 306.7)
XYZxyz(32.8754, 19.4178, 78.3444)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FE8 #92E84F
analogous
#584FE8 #A54FE8 #E84FDF
triadic
#A54FE8 #E8A54F #4FE8A5
tetradic
#A54FE8 #E8584F #92E84F #4FDFE8
square
#A54FE8 #E8584F #92E84F #4FDFE8
split-complementary
#A54FE8 #DFE84F #4FE858
monochromatic
#6716A7 #891DDD #A54FE8 #C185EF #DCBBF6

Accessibility & contrast

On white

4.30
#A54FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A54FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FE8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FE8#FFFFFF#000000##000000
##A54FE81.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#287AE5
Tritanopia (blue-blind)
#9A7095
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a54fe8;
/* rgb */ color: rgb(165, 79, 232);
/* oklch */ color: oklch(60.6% 0.224 306.7);
Tailwind
colors: {
  custom: {
    50: '#c486f0',
    500: '#a54fe8',
    950: '#000000',
  },
}
SCSS
$custom: #a54fe8;
$custom-light: #c486f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fe8",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 273.725,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60597,
    "c": 0.22394,
    "h": 306.7
  },
  "luminance": 0.19417
}

Semantic roles & 50–950 ramp

primary
#A54FE8
secondary
#C6E6AD
accent
#D90C66
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A54FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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