#A754A2#A754A2

#A754A2 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.4% C 0.147 H 329.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A754A2
RGBrgb(167, 84, 162)
HSLhsl(304, 33%, 49%)
HSVhsv(304, 50%, 65%)
CMYKcmyk(0%, 49.7%, 3%, 34.5%)
CIE-LABlab(48.47, 45.14, -27.32)
CIE-LCHlch(48.47, 52.76, 328.81°)
OKLaboklab(57.44% 0.1271 -0.0747)
OKLCHoklch(57.44% 0.147 329.6)
XYZxyz(25.6280, 17.1663, 36.1390)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754A2 #54A759
analogous
#8354A7 #A754A2 #A75479
triadic
#A754A2 #A2A754 #54A2A7
tetradic
#A754A2 #A78354 #54A759 #5479A7
square
#A754A2 #A78354 #54A759 #5479A7
split-complementary
#A754A2 #79A754 #54A783
monochromatic
#562B53 #7E407B #A754A2 #BD7BB9 #D1A4CF

Accessibility & contrast

On white

4.74
#A754A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#A754A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A754A2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754A2#FFFFFF#000000##FFFFFF
##A754A21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6CA5
Deuteranopia (green-blind)
#6777A0
Tritanopia (blue-blind)
#AC5B73
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a754a2;
/* rgb */ color: rgb(167, 84, 162);
/* oklch */ color: oklch(57.4% 0.147 329.6);
Tailwind
colors: {
  custom: {
    50: '#c387bd',
    500: '#a754a2',
    950: '#000000',
  },
}
SCSS
$custom: #a754a2;
$custom-light: #c387bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a754a2",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 303.614,
    "s": 33.068,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57435,
    "c": 0.1474,
    "h": 329.6
  },
  "luminance": 0.17165
}

Semantic roles & 50–950 ramp

primary
#A754A2
secondary
#98BF9A
accent
#C9655F
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A754A2

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

Preview Lab → · Contrast checker → · Palette generator →

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