#A54CD9#A54CD9

#A54CD9 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.2% C 0.213 H 310.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A54CD9
RGBrgb(165, 76, 217)
HSLhsl(278, 65%, 57%)
HSVhsv(278, 65%, 85%)
CMYKcmyk(24%, 65%, 0%, 14.9%)
CIE-LABlab(49.71, 59.53, -57.26)
CIE-LCHlch(49.71, 82.60, 316.11°)
OKLaboklab(59.24% 0.1382 -0.1616)
OKLCHoklch(59.24% 0.213 310.5)
XYZxyz(30.6235, 18.1786, 67.5278)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CD9 #80D94C
analogous
#5E4CD9 #A54CD9 #D94CC7
triadic
#A54CD9 #D9A54C #4CD9A5
tetradic
#A54CD9 #D95E4C #80D94C #4CC7D9
square
#A54CD9 #D95E4C #80D94C #4CC7D9
split-complementary
#A54CD9 #C7D94C #4CD95E
monochromatic
#641E8D #8829BF #A54CD9 #BE7EE4 #D8B1EE

Accessibility & contrast

On white

4.53
#A54CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#A54CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54CD9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54CD9#FFFFFF#000000##000000
##A54CD91.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#3A78D6
Tritanopia (blue-blind)
#9E698C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a54cd9;
/* rgb */ color: rgb(165, 76, 217);
/* oklch */ color: oklch(59.2% 0.213 310.5);
Tailwind
colors: {
  custom: {
    50: '#c484e5',
    500: '#a54cd9',
    950: '#000000',
  },
}
SCSS
$custom: #a54cd9;
$custom-light: #c484e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a54cd9",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 277.872,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59241,
    "c": 0.21262,
    "h": 310.5
  },
  "luminance": 0.18178
}

Semantic roles & 50–950 ramp

primary
#A54CD9
secondary
#B9DDA4
accent
#E8407E
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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