#A54FDC#A54FDC

#A54FDC is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.8% C 0.212 H 309.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A54FDC
RGBrgb(165, 79, 220)
HSLhsl(277, 67%, 59%)
HSVhsv(277, 64%, 86%)
CMYKcmyk(25%, 64.1%, 0%, 13.7%)
CIE-LABlab(50.40, 58.79, -57.85)
CIE-LCHlch(50.40, 82.48, 315.46°)
OKLaboklab(59.8% 0.1346 -0.1634)
OKLCHoklch(59.8% 0.212 309.5)
XYZxyz(31.2288, 18.7592, 69.6720)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FDC #86DC4F
analogous
#5E4FDC #A54FDC #DC4FCC
triadic
#A54FDC #DCA54F #4FDCA5
tetradic
#A54FDC #DC5E4F #86DC4F #4FCCDC
square
#A54FDC #DC5E4F #86DC4F #4FCCDC
split-complementary
#A54FDC #CCDC4F #4FDC5E
monochromatic
#651D93 #8827C6 #A54FDC #BF82E6 #D9B5F0

Accessibility & contrast

On white

4.42
#A54FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A54FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FDC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FDC#FFFFFF#000000##000000
##A54FDC1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#3A79D9
Tritanopia (blue-blind)
#9D6C8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a54fdc;
/* rgb */ color: rgb(165, 79, 220);
/* oklch */ color: oklch(59.8% 0.212 309.5);
Tailwind
colors: {
  custom: {
    50: '#c486e8',
    500: '#a54fdc',
    950: '#000000',
  },
}
SCSS
$custom: #a54fdc;
$custom-light: #c486e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fdc",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 276.596,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.598,
    "c": 0.21168,
    "h": 309.5
  },
  "luminance": 0.18759
}

Semantic roles & 50–950 ramp

primary
#A54FDC
secondary
#BDDFA8
accent
#EA3E81
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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