#A54CE4#A54CE4

#A54CE4 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.0% C 0.224 H 307.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A54CE4
RGBrgb(165, 76, 228)
HSLhsl(275, 74%, 60%)
HSVhsv(275, 67%, 89%)
CMYKcmyk(27.6%, 66.7%, 0%, 10.6%)
CIE-LABlab(50.42, 61.92, -62.36)
CIE-LCHlch(50.42, 87.89, 314.80°)
OKLaboklab(59.97% 0.1373 -0.1766)
OKLCHoklch(59.97% 0.224 307.9)
XYZxyz(32.1022, 18.7701, 75.3156)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CE4 #8BE44C
analogous
#594CE4 #A54CE4 #E44CD7
triadic
#A54CE4 #E4A54C #4CE4A5
tetradic
#A54CE4 #E4594C #8BE44C #4CD7E4
square
#A54CE4 #E4594C #8BE44C #4CD7E4
split-complementary
#A54CE4 #D7E44C #4CE459
monochromatic
#66189E #8920D3 #A54CE4 #C081EC #DAB6F4

Accessibility & contrast

On white

4.42
#A54CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A54CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54CE4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54CE4#FFFFFF#000000##000000
##A54CE41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#2A79E1
Tritanopia (blue-blind)
#9B6D92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a54ce4;
/* rgb */ color: rgb(165, 76, 228);
/* oklch */ color: oklch(60.0% 0.224 307.9);
Tailwind
colors: {
  custom: {
    50: '#c484ed',
    500: '#a54ce4',
    950: '#000000',
  },
}
SCSS
$custom: #a54ce4;
$custom-light: #c484ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ce4",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 275.132,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59972,
    "c": 0.22368,
    "h": 307.9
  },
  "luminance": 0.1877
}

Semantic roles & 50–950 ramp

primary
#A54CE4
secondary
#C1E3A8
accent
#F03784
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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