#A54CD2#A54CD2

#A54CD2 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.8% C 0.206 H 312.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A54CD2
RGBrgb(165, 76, 210)
HSLhsl(280, 60%, 56%)
HSVhsv(280, 64%, 82%)
CMYKcmyk(21.4%, 63.8%, 0%, 17.6%)
CIE-LABlab(49.28, 58.04, -53.96)
CIE-LCHlch(49.28, 79.25, 317.09°)
OKLaboklab(58.79% 0.1385 -0.1519)
OKLCHoklch(58.79% 0.206 312.4)
XYZxyz(29.7323, 17.8221, 62.8341)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CD2 #79D24C
analogous
#624CD2 #A54CD2 #D24CBC
triadic
#A54CD2 #D2A54C #4CD2A5
tetradic
#A54CD2 #D2624C #79D24C #4CBCD2
square
#A54CD2 #D2624C #79D24C #4CBCD2
split-complementary
#A54CD2 #BCD24C #4CD262
monochromatic
#622183 #862DB4 #A54CD2 #BE7DDE #D6AEEB

Accessibility & contrast

On white

4.60
#A54CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#A54CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A54CD2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54CD2#FFFFFF#000000##FFFFFF
##A54CD21.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0471D6
Deuteranopia (green-blind)
#4177CF
Tritanopia (blue-blind)
#A06688
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a54cd2;
/* rgb */ color: rgb(165, 76, 210);
/* oklch */ color: oklch(58.8% 0.206 312.4);
Tailwind
colors: {
  custom: {
    50: '#c384e0',
    500: '#a54cd2',
    950: '#000000',
  },
}
SCSS
$custom: #a54cd2;
$custom-light: #c384e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a54cd2",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 279.851,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58791,
    "c": 0.2056,
    "h": 312.4
  },
  "luminance": 0.17821
}

Semantic roles & 50–950 ramp

primary
#A54CD2
secondary
#B4D9A1
accent
#E3457A
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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