#A54DD9#A54DD9

#A54DD9 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.4% C 0.211 H 310.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A54DD9
RGBrgb(165, 77, 217)
HSLhsl(278, 65%, 58%)
HSVhsv(278, 65%, 85%)
CMYKcmyk(24%, 64.5%, 0%, 14.9%)
CIE-LABlab(49.88, 59.07, -56.99)
CIE-LCHlch(49.88, 82.08, 316.03°)
OKLaboklab(59.36% 0.1371 -0.1608)
OKLCHoklch(59.36% 0.211 310.4)
XYZxyz(30.6929, 18.3175, 67.5509)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DD9 #81D94D
analogous
#5F4DD9 #A54DD9 #D94DC7
triadic
#A54DD9 #D9A54D #4DD9A5
tetradic
#A54DD9 #D95F4D #81D94D #4DC7D9
square
#A54DD9 #D95F4D #81D94D #4DC7D9
split-complementary
#A54DD9 #C7D94D #4DD95F
monochromatic
#641E8D #8829C0 #A54DD9 #BE7FE4 #D8B2EF

Accessibility & contrast

On white

4.50
#A54DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A54DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54DD9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DD9#FFFFFF#000000##000000
##A54DD91.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#3B78D6
Tritanopia (blue-blind)
#9E698C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a54dd9;
/* rgb */ color: rgb(165, 77, 217);
/* oklch */ color: oklch(59.4% 0.211 310.4);
Tailwind
colors: {
  custom: {
    50: '#c484e5',
    500: '#a54dd9',
    950: '#000000',
  },
}
SCSS
$custom: #a54dd9;
$custom-light: #c484e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a54dd9",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 277.714,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59361,
    "c": 0.2113,
    "h": 310.4
  },
  "luminance": 0.18317
}

Semantic roles & 50–950 ramp

primary
#A54DD9
secondary
#BADDA5
accent
#E8407E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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