#A74FA2#A74FA2

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

Color values

HEX#A74FA2
RGBrgb(167, 79, 162)
HSLhsl(303, 36%, 48%)
HSVhsv(303, 53%, 65%)
CMYKcmyk(0%, 52.7%, 3%, 34.5%)
CIE-LABlab(47.52, 47.66, -28.80)
CIE-LCHlch(47.52, 55.68, 328.85°)
OKLaboklab(56.73% 0.1343 -0.0788)
OKLCHoklch(56.73% 0.156 329.6)
XYZxyz(25.2537, 16.4176, 36.0142)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FA2 #4FA754
analogous
#804FA7 #A74FA2 #A74F76
triadic
#A74FA2 #A2A74F #4FA2A7
tetradic
#A74FA2 #A7804F #4FA754 #4F76A7
square
#A74FA2 #A7804F #4FA754 #4F76A7
split-complementary
#A74FA2 #76A74F #4FA780
monochromatic
#542851 #7D3B7A #A74FA2 #BE75BA #D29FCF

Accessibility & contrast

On white

4.90
#A74FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A74FA2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FA2#FFFFFF#000000##FFFFFF
##A74FA21.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#64759F
Tritanopia (blue-blind)
#AC5771
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a74fa2;
/* rgb */ color: rgb(167, 79, 162);
/* oklch */ color: oklch(56.7% 0.156 329.6);
Tailwind
colors: {
  custom: {
    50: '#c384be',
    500: '#a74fa2',
    950: '#000000',
  },
}
SCSS
$custom: #a74fa2;
$custom-light: #c384be;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fa2",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 303.409,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56732,
    "c": 0.15569,
    "h": 329.6
  },
  "luminance": 0.16416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A74FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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