#A74FA1#A74FA1

#A74FA1 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.7% C 0.155 H 330.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A74FA1
RGBrgb(167, 79, 161)
HSLhsl(304, 36%, 48%)
HSVhsv(304, 53%, 65%)
CMYKcmyk(0%, 52.7%, 3.6%, 34.5%)
CIE-LABlab(47.47, 47.48, -28.28)
CIE-LCHlch(47.47, 55.26, 329.22°)
OKLaboklab(56.68% 0.1341 -0.0774)
OKLCHoklch(56.68% 0.155 330)
XYZxyz(25.1651, 16.3822, 35.5479)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FA1 #4FA755
analogous
#814FA7 #A74FA1 #A74F75
triadic
#A74FA1 #A1A74F #4FA1A7
tetradic
#A74FA1 #A7814F #4FA755 #4F75A7
square
#A74FA1 #A7814F #4FA755 #4F75A7
split-complementary
#A74FA1 #75A74F #4FA781
monochromatic
#542851 #7D3B79 #A74FA1 #BE75B9 #D29FCE

Accessibility & contrast

On white

4.91
#A74FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#A74FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74FA1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FA1#FFFFFF#000000##FFFFFF
##A74FA11.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A69A4
Deuteranopia (green-blind)
#64759E
Tritanopia (blue-blind)
#AD5771
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a74fa1;
/* rgb */ color: rgb(167, 79, 161);
/* oklch */ color: oklch(56.7% 0.155 330.0);
Tailwind
colors: {
  custom: {
    50: '#c384bd',
    500: '#a74fa1',
    950: '#000000',
  },
}
SCSS
$custom: #a74fa1;
$custom-light: #c384bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fa1",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 304.091,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56683,
    "c": 0.15481,
    "h": 330
  },
  "luminance": 0.16381
}

Semantic roles & 50–950 ramp

primary
#A74FA1
secondary
#93BE96
accent
#CC645C
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A74FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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