#A54DE4#A54DE4

#A54DE4 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.1% C 0.222 H 307.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A54DE4
RGBrgb(165, 77, 228)
HSLhsl(275, 74%, 60%)
HSVhsv(275, 66%, 89%)
CMYKcmyk(27.6%, 66.2%, 0%, 10.6%)
CIE-LABlab(50.58, 61.47, -62.10)
CIE-LCHlch(50.58, 87.38, 314.71°)
OKLaboklab(60.09% 0.1362 -0.1758)
OKLCHoklch(60.09% 0.222 307.8)
XYZxyz(32.1716, 18.9090, 75.3387)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DE4 #8CE44D
analogous
#5A4DE4 #A54DE4 #E44DD8
triadic
#A54DE4 #E4A54D #4DE4A5
tetradic
#A54DE4 #E45A4D #8CE44D #4DD8E4
square
#A54DE4 #E45A4D #8CE44D #4DD8E4
split-complementary
#A54DE4 #D8E44D #4DE45A
monochromatic
#66189F #8920D4 #A54DE4 #C082EC #DBB7F4

Accessibility & contrast

On white

4.39
#A54DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A54DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54DE4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DE4#FFFFFF#000000##000000
##A54DE41.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a54de4;
/* rgb */ color: rgb(165, 77, 228);
/* oklch */ color: oklch(60.1% 0.222 307.8);
Tailwind
colors: {
  custom: {
    50: '#c485ed',
    500: '#a54de4',
    950: '#000000',
  },
}
SCSS
$custom: #a54de4;
$custom-light: #c485ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a54de4",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 228
  },
  "hsl": {
    "h": 274.967,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60089,
    "c": 0.22242,
    "h": 307.8
  },
  "luminance": 0.18909
}

Semantic roles & 50–950 ramp

primary
#A54DE4
secondary
#C2E4A9
accent
#F03785
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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