#A54CD4#A54CD4

#A54CD4 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.9% C 0.208 H 311.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#A54CD4
RGBrgb(165, 76, 212)
HSLhsl(279, 61%, 56%)
HSVhsv(279, 64%, 83%)
CMYKcmyk(22.2%, 64.2%, 0%, 16.9%)
CIE-LABlab(49.40, 58.46, -54.91)
CIE-LCHlch(49.40, 80.20, 316.80°)
OKLaboklab(58.92% 0.1385 -0.1547)
OKLCHoklch(58.92% 0.208 311.8)
XYZxyz(29.9830, 17.9224, 64.1545)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CD4 #7BD44C
analogous
#614CD4 #A54CD4 #D44CBF
triadic
#A54CD4 #D4A54C #4CD4A5
tetradic
#A54CD4 #D4614C #7BD44C #4CBFD4
square
#A54CD4 #D4614C #7BD44C #4CBFD4
split-complementary
#A54CD4 #BFD44C #4CD461
monochromatic
#622086 #872CB7 #A54CD4 #BE7DE0 #D7AFEC

Accessibility & contrast

On white

4.58
#A54CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#A54CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54CD4
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54CD4#FFFFFF#000000##000000
##A54CD41.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#3F77D1
Tritanopia (blue-blind)
#A06789
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a54cd4;
/* rgb */ color: rgb(165, 76, 212);
/* oklch */ color: oklch(58.9% 0.208 311.8);
Tailwind
colors: {
  custom: {
    50: '#c384e2',
    500: '#a54cd4',
    950: '#000000',
  },
}
SCSS
$custom: #a54cd4;
$custom-light: #c384e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a54cd4",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 279.265,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58918,
    "c": 0.20761,
    "h": 311.8
  },
  "luminance": 0.17922
}

Semantic roles & 50–950 ramp

primary
#A54CD4
secondary
#B5DAA2
accent
#E4437B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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