#A54DE7#A54DE7

#A54DE7 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.3% C 0.225 H 307.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A54DE7
RGBrgb(165, 77, 231)
HSLhsl(274, 76%, 60%)
HSVhsv(274, 67%, 91%)
CMYKcmyk(28.6%, 66.7%, 0%, 9.4%)
CIE-LABlab(50.78, 62.13, -63.48)
CIE-LCHlch(50.78, 88.83, 314.39°)
OKLaboklab(60.29% 0.1359 -0.1799)
OKLCHoklch(60.29% 0.225 307.1)
XYZxyz(32.5917, 19.0770, 77.5511)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DE7 #8FE74D
analogous
#584DE7 #A54DE7 #E74DDC
triadic
#A54DE7 #E7A54D #4DE7A5
tetradic
#A54DE7 #E7584D #8FE74D #4DDCE7
square
#A54DE7 #E7584D #8FE74D #4DDCE7
split-complementary
#A54DE7 #DCE74D #4DE758
monochromatic
#6716A4 #891DD9 #A54DE7 #C083EE #DCB9F6

Accessibility & contrast

On white

4.36
#A54DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#A54DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54DE7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DE7#FFFFFF#000000##000000
##A54DE71.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#277AE4
Tritanopia (blue-blind)
#9A6F94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a54de7;
/* rgb */ color: rgb(165, 77, 231);
/* oklch */ color: oklch(60.3% 0.225 307.1);
Tailwind
colors: {
  custom: {
    50: '#c485ef',
    500: '#a54de7',
    950: '#000000',
  },
}
SCSS
$custom: #a54de7;
$custom-light: #c485ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a54de7",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 274.286,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60293,
    "c": 0.22545,
    "h": 307.1
  },
  "luminance": 0.19077
}

Semantic roles & 50–950 ramp

primary
#A54DE7
secondary
#C4E5AA
accent
#D80D64
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A54DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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