#A54CD5#A54CD5

#A54CD5 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.0% C 0.209 H 311.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A54CD5
RGBrgb(165, 76, 213)
HSLhsl(279, 62%, 57%)
HSVhsv(279, 64%, 84%)
CMYKcmyk(22.5%, 64.3%, 0%, 16.5%)
CIE-LABlab(49.46, 58.68, -55.38)
CIE-LCHlch(49.46, 80.68, 316.66°)
OKLaboklab(58.98% 0.1384 -0.1561)
OKLCHoklch(58.98% 0.209 311.6)
XYZxyz(30.1095, 17.9730, 64.8209)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CD5 #7CD54C
analogous
#614CD5 #A54CD5 #D54CC1
triadic
#A54CD5 #D5A54C #4CD5A5
tetradic
#A54CD5 #D5614C #7CD54C #4CC1D5
square
#A54CD5 #D5614C #7CD54C #4CC1D5
split-complementary
#A54CD5 #C1D54C #4CD561
monochromatic
#632087 #872BB9 #A54CD5 #BE7EE1 #D7AFEC

Accessibility & contrast

On white

4.57
#A54CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A54CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54CD5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54CD5#FFFFFF#000000##000000
##A54CD51.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#3E77D2
Tritanopia (blue-blind)
#9F678A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a54cd5;
/* rgb */ color: rgb(165, 76, 213);
/* oklch */ color: oklch(59.0% 0.209 311.6);
Tailwind
colors: {
  custom: {
    50: '#c384e3',
    500: '#a54cd5',
    950: '#000000',
  },
}
SCSS
$custom: #a54cd5;
$custom-light: #c384e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a54cd5",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 278.978,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58982,
    "c": 0.20861,
    "h": 311.6
  },
  "luminance": 0.17972
}

Semantic roles & 50–950 ramp

primary
#A54CD5
secondary
#B6DAA2
accent
#E5437C
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A54CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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