#A74FAC#A74FAC

#A74FAC is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.2% C 0.165 H 325.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A74FAC
RGBrgb(167, 79, 172)
HSLhsl(297, 37%, 49%)
HSVhsv(297, 54%, 67%)
CMYKcmyk(2.9%, 54.1%, 0%, 32.5%)
CIE-LABlab(47.99, 49.49, -33.96)
CIE-LCHlch(47.99, 60.02, 325.55°)
OKLaboklab(57.24% 0.1357 -0.0936)
OKLCHoklch(57.24% 0.165 325.4)
XYZxyz(26.1781, 16.7874, 40.8831)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FAC #54AC4F
analogous
#794FAC #A74FAC #AC4F83
triadic
#A74FAC #ACA74F #4FACA7
tetradic
#A74FAC #AC794F #54AC4F #4F83AC
square
#A74FAC #AC794F #54AC4F #4F83AC
split-complementary
#A74FAC #83AC4F #4FAC79
monochromatic
#562858 #7E3C82 #A74FAC #BD77C1 #D1A1D4

Accessibility & contrast

On white

4.82
#A74FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A74FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74FAC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FAC#FFFFFF#000000##FFFFFF
##A74FAC1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436BAF
Deuteranopia (green-blind)
#5F76A9
Tritanopia (blue-blind)
#AB5A76
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a74fac;
/* rgb */ color: rgb(167, 79, 172);
/* oklch */ color: oklch(57.2% 0.165 325.4);
Tailwind
colors: {
  custom: {
    50: '#c384c5',
    500: '#a74fac',
    950: '#000000',
  },
}
SCSS
$custom: #a74fac;
$custom-light: #c384c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fac",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 296.774,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57235,
    "c": 0.16486,
    "h": 325.4
  },
  "luminance": 0.16786
}

Semantic roles & 50–950 ramp

primary
#A74FAC
secondary
#98C196
accent
#CD5B61
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A74FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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