#A54DE5#A54DE5

#A54DE5 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.2% C 0.223 H 307.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A54DE5
RGBrgb(165, 77, 229)
HSLhsl(275, 75%, 60%)
HSVhsv(275, 66%, 90%)
CMYKcmyk(27.9%, 66.4%, 0%, 10.2%)
CIE-LABlab(50.65, 61.69, -62.56)
CIE-LCHlch(50.65, 87.86, 314.60°)
OKLaboklab(60.16% 0.1361 -0.1772)
OKLCHoklch(60.16% 0.223 307.5)
XYZxyz(32.3108, 18.9647, 76.0719)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DE5 #8DE54D
analogous
#594DE5 #A54DE5 #E54DD9
triadic
#A54DE5 #E5A54D #4DE5A5
tetradic
#A54DE5 #E5594D #8DE54D #4DD9E5
square
#A54DE5 #E5594D #8DE54D #4DD9E5
split-complementary
#A54DE5 #D9E54D #4DE559
monochromatic
#6717A0 #891FD6 #A54DE5 #C082ED #DBB8F5

Accessibility & contrast

On white

4.38
#A54DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A54DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54DE5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DE5#FFFFFF#000000##000000
##A54DE51.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#2A79E2
Tritanopia (blue-blind)
#9B6E93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a54de5;
/* rgb */ color: rgb(165, 77, 229);
/* oklch */ color: oklch(60.2% 0.223 307.5);
Tailwind
colors: {
  custom: {
    50: '#c485ee',
    500: '#a54de5',
    950: '#000000',
  },
}
SCSS
$custom: #a54de5;
$custom-light: #c485ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a54de5",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 274.737,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.60157,
    "c": 0.22343,
    "h": 307.5
  },
  "luminance": 0.18964
}

Semantic roles & 50–950 ramp

primary
#A54DE5
secondary
#C2E4AA
accent
#F13785
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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