#A54DDA#A54DDA

#A54DDA is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.4% C 0.212 H 310.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A54DDA
RGBrgb(165, 77, 218)
HSLhsl(277, 66%, 58%)
HSVhsv(277, 65%, 85%)
CMYKcmyk(24.3%, 64.7%, 0%, 14.5%)
CIE-LABlab(49.94, 59.29, -57.46)
CIE-LCHlch(49.94, 82.56, 315.90°)
OKLaboklab(59.43% 0.137 -0.1622)
OKLCHoklch(59.43% 0.212 310.2)
XYZxyz(30.8234, 18.3697, 68.2380)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DDA #82DA4D
analogous
#5F4DDA #A54DDA #DA4DC8
triadic
#A54DDA #DAA54D #4DDAA5
tetradic
#A54DDA #DA5F4D #82DA4D #4DC8DA
square
#A54DDA #DA5F4D #82DA4D #4DC8DA
split-complementary
#A54DDA #C8DA4D #4DDA5F
monochromatic
#641E8F #8828C2 #A54DDA #BF80E5 #D8B2EF

Accessibility & contrast

On white

4.49
#A54DDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#A54DDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54DDA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DDA#FFFFFF#000000##000000
##A54DDA1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#3A78D7
Tritanopia (blue-blind)
#9E6A8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a54dda;
/* rgb */ color: rgb(165, 77, 218);
/* oklch */ color: oklch(59.4% 0.212 310.2);
Tailwind
colors: {
  custom: {
    50: '#c484e6',
    500: '#a54dda',
    950: '#000000',
  },
}
SCSS
$custom: #a54dda;
$custom-light: #c484e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a54dda",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 218
  },
  "hsl": {
    "h": 277.447,
    "s": 65.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59426,
    "c": 0.21232,
    "h": 310.2
  },
  "luminance": 0.18369
}

Semantic roles & 50–950 ramp

primary
#A54DDA
secondary
#BADEA5
accent
#E93F7F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54DDA

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

Preview Lab → · Contrast checker → · Palette generator →

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