#A54CA2#A54CA2

#A54CA2 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.1% C 0.159 H 328.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A54CA2
RGBrgb(165, 76, 162)
HSLhsl(302, 37%, 47%)
HSVhsv(302, 54%, 65%)
CMYKcmyk(0%, 53.9%, 1.8%, 35.3%)
CIE-LABlab(46.68, 48.56, -30.13)
CIE-LCHlch(46.68, 57.14, 328.18°)
OKLaboklab(56.06% 0.1361 -0.0826)
OKLCHoklch(56.06% 0.159 328.7)
XYZxyz(24.6228, 15.7783, 35.9240)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CA2 #4CA54F
analogous
#7B4CA5 #A54CA2 #A54C76
triadic
#A54CA2 #A2A54C #4CA2A5
tetradic
#A54CA2 #A57B4C #4CA54F #4C76A5
square
#A54CA2 #A57B4C #4CA54F #4C76A5
split-complementary
#A54CA2 #76A54C #4CA57B
monochromatic
#512550 #7B3979 #A54CA2 #BD71BB #D19BCF

Accessibility & contrast

On white

5.05
#A54CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A54CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54CA2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54CA2#FFFFFF#000000##FFFFFF
##A54CA21.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#60739F
Tritanopia (blue-blind)
#AA5570
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a54ca2;
/* rgb */ color: rgb(165, 76, 162);
/* oklch */ color: oklch(56.1% 0.159 328.7);
Tailwind
colors: {
  custom: {
    50: '#c282be',
    500: '#a54ca2',
    950: '#000000',
  },
}
SCSS
$custom: #a54ca2;
$custom-light: #c282be;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ca2",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 302.022,
    "s": 36.929,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56058,
    "c": 0.15926,
    "h": 328.7
  },
  "luminance": 0.15777
}

Semantic roles & 50–950 ramp

primary
#A54CA2
secondary
#8FBD91
accent
#CD5F5B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A54CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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