#A74AAA#A74AAA

#A74AAA is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.5% C 0.171 H 326.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A74AAA
RGBrgb(167, 74, 170)
HSLhsl(298, 39%, 48%)
HSVhsv(298, 56%, 67%)
CMYKcmyk(1.8%, 56.5%, 0%, 33.3%)
CIE-LABlab(47.00, 51.53, -34.34)
CIE-LCHlch(47.00, 61.93, 326.32°)
OKLaboklab(56.47% 0.1422 -0.0947)
OKLCHoklch(56.47% 0.171 326.3)
XYZxyz(25.6403, 16.0168, 39.7634)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74AAA #4DAA4A
analogous
#774AAA #A74AAA #AA4A7D
triadic
#A74AAA #AAA74A #4AAAA7
tetradic
#A74AAA #AA774A #4DAA4A #4A7DAA
square
#A74AAA #AA774A #4DAA4A #4A7DAA
split-complementary
#A74AAA #7DAA4A #4AAA77
monochromatic
#532555 #7D377F #A74AAA #BE70C1 #D29BD3

Accessibility & contrast

On white

5.00
#A74AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#A74AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74AAA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74AAA#FFFFFF#000000##FFFFFF
##A74AAA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AD
Deuteranopia (green-blind)
#5D74A7
Tritanopia (blue-blind)
#AB5673
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a74aaa;
/* rgb */ color: rgb(167, 74, 170);
/* oklch */ color: oklch(56.5% 0.171 326.3);
Tailwind
colors: {
  custom: {
    50: '#c481c3',
    500: '#a74aaa',
    950: '#000000',
  },
}
SCSS
$custom: #a74aaa;
$custom-light: #c481c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a74aaa",
  "rgb": {
    "r": 167,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 298.125,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56474,
    "c": 0.17085,
    "h": 326.3
  },
  "luminance": 0.16015
}

Semantic roles & 50–950 ramp

primary
#A74AAA
secondary
#91C090
accent
#CF595C
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #A74AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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