#A54CC7#A54CC7

#A54CC7 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.1% C 0.195 H 315.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A54CC7
RGBrgb(165, 76, 199)
HSLhsl(283, 52%, 54%)
HSVhsv(283, 62%, 78%)
CMYKcmyk(17.1%, 61.8%, 0%, 22%)
CIE-LABlab(48.63, 55.74, -48.68)
CIE-LCHlch(48.63, 74.01, 318.87°)
OKLaboklab(58.11% 0.1388 -0.1365)
OKLCHoklch(58.11% 0.195 315.5)
XYZxyz(28.4087, 17.2927, 55.8631)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CC7 #6EC74C
analogous
#684CC7 #A54CC7 #C74CAB
triadic
#A54CC7 #C7A54C #4CC7A5
tetradic
#A54CC7 #C7684C #6EC74C #4CABC7
square
#A54CC7 #C7684C #6EC74C #4CABC7
split-complementary
#A54CC7 #ABC74C #4CC768
monochromatic
#5E2474 #8433A3 #A54CC7 #BC7BD6 #D4A9E4

Accessibility & contrast

On white

4.71
#A54CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A54CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54CC7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54CC7#FFFFFF#000000##FFFFFF
##A54CC71.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226ECB
Deuteranopia (green-blind)
#4B76C4
Tritanopia (blue-blind)
#A36283
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a54cc7;
/* rgb */ color: rgb(165, 76, 199);
/* oklch */ color: oklch(58.1% 0.195 315.5);
Tailwind
colors: {
  custom: {
    50: '#c383d8',
    500: '#a54cc7',
    950: '#000000',
  },
}
SCSS
$custom: #a54cc7;
$custom-light: #c383d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a54cc7",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 283.415,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58109,
    "c": 0.19464,
    "h": 315.5
  },
  "luminance": 0.17292
}

Semantic roles & 50–950 ramp

primary
#A54CC7
secondary
#ACD29D
accent
#DC4C74
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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