#A74FA6#A74FA6

#A74FA6 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 56.9% C 0.159 H 327.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A74FA6
RGBrgb(167, 79, 166)
HSLhsl(301, 36%, 48%)
HSVhsv(301, 53%, 65%)
CMYKcmyk(0%, 52.7%, 0.6%, 34.5%)
CIE-LABlab(47.70, 48.38, -30.87)
CIE-LCHlch(47.70, 57.39, 327.46°)
OKLaboklab(56.93% 0.1349 -0.0848)
OKLCHoklch(56.93% 0.159 327.8)
XYZxyz(25.6149, 16.5621, 37.9166)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FA6 #4FA750
analogous
#7C4FA7 #A74FA6 #A74F7A
triadic
#A74FA6 #A6A74F #4FA6A7
tetradic
#A74FA6 #A77C4F #4FA750 #4F7AA7
square
#A74FA6 #A77C4F #4FA750 #4F7AA7
split-complementary
#A74FA6 #7AA74F #4FA77C
monochromatic
#542853 #7D3B7D #A74FA6 #BE75BD #D29FD1

Accessibility & contrast

On white

4.87
#A74FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A74FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74FA6
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FA6#FFFFFF#000000##FFFFFF
##A74FA61.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476AA9
Deuteranopia (green-blind)
#6275A3
Tritanopia (blue-blind)
#AC5973
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a74fa6;
/* rgb */ color: rgb(167, 79, 166);
/* oklch */ color: oklch(56.9% 0.159 327.8);
Tailwind
colors: {
  custom: {
    50: '#c384c0',
    500: '#a74fa6',
    950: '#000000',
  },
}
SCSS
$custom: #a74fa6;
$custom-light: #c384c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fa6",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 300.682,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5693,
    "c": 0.15931,
    "h": 327.8
  },
  "luminance": 0.16561
}

Semantic roles & 50–950 ramp

primary
#A74FA6
secondary
#93BE94
accent
#CC5D5C
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A74FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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