#A54DDC#A54DDC

#A54DDC is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.6% C 0.214 H 309.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A54DDC
RGBrgb(165, 77, 220)
HSLhsl(277, 67%, 58%)
HSVhsv(277, 65%, 86%)
CMYKcmyk(25%, 65%, 0%, 13.7%)
CIE-LABlab(50.07, 59.72, -58.40)
CIE-LCHlch(50.07, 83.53, 315.64°)
OKLaboklab(59.56% 0.1369 -0.1649)
OKLCHoklch(59.56% 0.214 309.7)
XYZxyz(31.0867, 18.4750, 69.6247)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DDC #84DC4D
analogous
#5D4DDC #A54DDC #DC4DCB
triadic
#A54DDC #DCA54D #4DDCA5
tetradic
#A54DDC #DC5D4D #84DC4D #4DCBDC
square
#A54DDC #DC5D4D #84DC4D #4DCBDC
split-complementary
#A54DDC #CBDC4D #4DDC5D
monochromatic
#651D92 #8827C5 #A54DDC #BF80E6 #D9B3F0

Accessibility & contrast

On white

4.47
#A54DDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A54DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54DDC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DDC#FFFFFF#000000##000000
##A54DDC1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#3878D9
Tritanopia (blue-blind)
#9D6A8E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a54ddc;
/* rgb */ color: rgb(165, 77, 220);
/* oklch */ color: oklch(59.6% 0.214 309.7);
Tailwind
colors: {
  custom: {
    50: '#c484e8',
    500: '#a54ddc',
    950: '#000000',
  },
}
SCSS
$custom: #a54ddc;
$custom-light: #c484e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ddc",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 276.923,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59557,
    "c": 0.21433,
    "h": 309.7
  },
  "luminance": 0.18474
}

Semantic roles & 50–950 ramp

primary
#A54DDC
secondary
#BCDFA6
accent
#EA3E80
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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