#A74EA1#A74EA1

#A74EA1 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.5% C 0.156 H 330.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A74EA1
RGBrgb(167, 78, 161)
HSLhsl(304, 36%, 48%)
HSVhsv(304, 53%, 65%)
CMYKcmyk(0%, 53.3%, 3.6%, 34.5%)
CIE-LABlab(47.29, 47.97, -28.57)
CIE-LCHlch(47.29, 55.83, 329.22°)
OKLaboklab(56.55% 0.1355 -0.0782)
OKLCHoklch(56.55% 0.156 330)
XYZxyz(25.0935, 16.2390, 35.5240)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EA1 #4EA754
analogous
#804EA7 #A74EA1 #A74E74
triadic
#A74EA1 #A1A74E #4EA1A7
tetradic
#A74EA1 #A7804E #4EA754 #4E74A7
square
#A74EA1 #A7804E #4EA754 #4E74A7
split-complementary
#A74EA1 #74A74E #4EA780
monochromatic
#542751 #7D3B79 #A74EA1 #BE74B9 #D29ECE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A74EA1#FFFFFF#000000##FFFFFF
##A74EA11.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)
#4968A4
Deuteranopia (green-blind)
#64759E
Tritanopia (blue-blind)
#AD5670
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a74ea1;
/* rgb */ color: rgb(167, 78, 161);
/* oklch */ color: oklch(56.5% 0.156 330.0);
Tailwind
colors: {
  custom: {
    50: '#c384bd',
    500: '#a74ea1',
    950: '#000000',
  },
}
SCSS
$custom: #a74ea1;
$custom-light: #c384bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ea1",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 304.045,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56546,
    "c": 0.15643,
    "h": 330
  },
  "luminance": 0.16237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A74EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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