#A74FAB#A74FAB

#A74FAB is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.2% C 0.164 H 325.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A74FAB
RGBrgb(167, 79, 171)
HSLhsl(297, 37%, 49%)
HSVhsv(297, 54%, 67%)
CMYKcmyk(2.3%, 53.8%, 0%, 32.9%)
CIE-LABlab(47.94, 49.30, -33.45)
CIE-LCHlch(47.94, 59.58, 325.85°)
OKLaboklab(57.18% 0.1356 -0.0922)
OKLCHoklch(57.18% 0.164 325.8)
XYZxyz(26.0825, 16.7492, 40.3793)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FAB #53AB4F
analogous
#794FAB #A74FAB #AB4F81
triadic
#A74FAB #ABA74F #4FABA7
tetradic
#A74FAB #AB794F #53AB4F #4F81AB
square
#A74FAB #AB794F #53AB4F #4F81AB
split-complementary
#A74FAB #81AB4F #4FAB79
monochromatic
#552857 #7E3C81 #A74FAB #BD77C0 #D1A1D4

Accessibility & contrast

On white

4.83
#A74FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A74FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74FAB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FAB#FFFFFF#000000##FFFFFF
##A74FAB1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446BAE
Deuteranopia (green-blind)
#6076A8
Tritanopia (blue-blind)
#AB5A76
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a74fab;
/* rgb */ color: rgb(167, 79, 171);
/* oklch */ color: oklch(57.2% 0.164 325.8);
Tailwind
colors: {
  custom: {
    50: '#c384c4',
    500: '#a74fab',
    950: '#000000',
  },
}
SCSS
$custom: #a74fab;
$custom-light: #c384c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fab",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 297.391,
    "s": 36.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57183,
    "c": 0.16393,
    "h": 325.8
  },
  "luminance": 0.16748
}

Semantic roles & 50–950 ramp

primary
#A74FAB
secondary
#97C195
accent
#CD5B60
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #A74FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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