#A54DD8#A54DD8

#A54DD8 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.3% C 0.210 H 310.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A54DD8
RGBrgb(165, 77, 216)
HSLhsl(278, 64%, 57%)
HSVhsv(278, 64%, 85%)
CMYKcmyk(23.6%, 64.4%, 0%, 15.3%)
CIE-LABlab(49.82, 58.86, -56.52)
CIE-LCHlch(49.82, 81.60, 316.16°)
OKLaboklab(59.3% 0.1371 -0.1594)
OKLCHoklch(59.3% 0.21 310.7)
XYZxyz(30.5633, 18.2656, 66.8680)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DD8 #80D84D
analogous
#604DD8 #A54DD8 #D84DC5
triadic
#A54DD8 #D8A54D #4DD8A5
tetradic
#A54DD8 #D8604D #80D84D #4DC5D8
square
#A54DD8 #D8604D #80D84D #4DC5D8
split-complementary
#A54DD8 #C5D84D #4DD860
monochromatic
#641F8C #882ABE #A54DD8 #BE7FE3 #D8B1EE

Accessibility & contrast

On white

4.51
#A54DD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A54DD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54DD8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DD8#FFFFFF#000000##000000
##A54DD81.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a54dd8;
/* rgb */ color: rgb(165, 77, 216);
/* oklch */ color: oklch(59.3% 0.210 310.7);
Tailwind
colors: {
  custom: {
    50: '#c484e5',
    500: '#a54dd8',
    950: '#000000',
  },
}
SCSS
$custom: #a54dd8;
$custom-light: #c484e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a54dd8",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 216
  },
  "hsl": {
    "h": 277.986,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59297,
    "c": 0.21029,
    "h": 310.7
  },
  "luminance": 0.18265
}

Semantic roles & 50–950 ramp

primary
#A54DD8
secondary
#B9DCA4
accent
#E7417E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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