#A74EA2#A74EA2

#A74EA2 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.6% C 0.157 H 329.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A74EA2
RGBrgb(167, 78, 162)
HSLhsl(303, 36%, 48%)
HSVhsv(303, 53%, 65%)
CMYKcmyk(0%, 53.3%, 3%, 34.5%)
CIE-LABlab(47.33, 48.15, -29.09)
CIE-LCHlch(47.33, 56.26, 328.86°)
OKLaboklab(56.6% 0.1357 -0.0797)
OKLCHoklch(56.6% 0.157 329.6)
XYZxyz(25.1821, 16.2745, 35.9903)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EA2 #4EA753
analogous
#7F4EA7 #A74EA2 #A74E75
triadic
#A74EA2 #A2A74E #4EA2A7
tetradic
#A74EA2 #A77F4E #4EA753 #4E75A7
square
#A74EA2 #A77F4E #4EA753 #4E75A7
split-complementary
#A74EA2 #75A74E #4EA77F
monochromatic
#542751 #7D3B7A #A74EA2 #BE74BA #D29ECF

Accessibility & contrast

On white

4.94
#A74EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#A74EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74EA2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74EA2#FFFFFF#000000##FFFFFF
##A74EA21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4869A5
Deuteranopia (green-blind)
#63759F
Tritanopia (blue-blind)
#AC5671
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a74ea2;
/* rgb */ color: rgb(167, 78, 162);
/* oklch */ color: oklch(56.6% 0.157 329.6);
Tailwind
colors: {
  custom: {
    50: '#c384be',
    500: '#a74ea2',
    950: '#000000',
  },
}
SCSS
$custom: #a74ea2;
$custom-light: #c384be;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ea2",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 303.371,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56595,
    "c": 0.15732,
    "h": 329.6
  },
  "luminance": 0.16273
}

Semantic roles & 50–950 ramp

primary
#A74EA2
secondary
#92BE95
accent
#CC625B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A74EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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