#A54CD8#A54CD8

#A54CD8 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.2% C 0.212 H 310.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A54CD8
RGBrgb(165, 76, 216)
HSLhsl(278, 64%, 57%)
HSVhsv(278, 65%, 85%)
CMYKcmyk(23.6%, 64.8%, 0%, 15.3%)
CIE-LABlab(49.65, 59.32, -56.79)
CIE-LCHlch(49.65, 82.12, 316.25°)
OKLaboklab(59.18% 0.1382 -0.1602)
OKLCHoklch(59.18% 0.212 310.8)
XYZxyz(30.4938, 18.1268, 66.8449)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CD8 #7FD84C
analogous
#5F4CD8 #A54CD8 #D84CC5
triadic
#A54CD8 #D8A54C #4CD8A5
tetradic
#A54CD8 #D85F4C #7FD84C #4CC5D8
square
#A54CD8 #D85F4C #7FD84C #4CC5D8
split-complementary
#A54CD8 #C5D84C #4CD85F
monochromatic
#641E8B #8829BE #A54CD8 #BE7EE3 #D8B1EE

Accessibility & contrast

On white

4.54
#A54CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#A54CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54CD8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54CD8#FFFFFF#000000##000000
##A54CD81.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a54cd8;
/* rgb */ color: rgb(165, 76, 216);
/* oklch */ color: oklch(59.2% 0.212 310.8);
Tailwind
colors: {
  custom: {
    50: '#c484e5',
    500: '#a54cd8',
    950: '#000000',
  },
}
SCSS
$custom: #a54cd8;
$custom-light: #c484e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a54cd8",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 278.143,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59176,
    "c": 0.21162,
    "h": 310.8
  },
  "luminance": 0.18126
}

Semantic roles & 50–950 ramp

primary
#A54CD8
secondary
#B8DCA4
accent
#E7417D
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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