#A74B9D#A74B9D

#A74B9D is a mid, vivid purple. Relative luminance 0.157; OKLCH L 55.9% C 0.158 H 331.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A74B9D
RGBrgb(167, 75, 157)
HSLhsl(307, 38%, 47%)
HSVhsv(307, 55%, 65%)
CMYKcmyk(0%, 55.1%, 6%, 34.5%)
CIE-LABlab(46.56, 48.73, -27.33)
CIE-LCHlch(46.56, 55.87, 330.71°)
OKLaboklab(55.95% 0.139 -0.0746)
OKLCHoklch(55.95% 0.158 331.8)
XYZxyz(24.5381, 15.6836, 33.6266)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74B9D #4BA755
analogous
#834BA7 #A74B9D #A74B6F
triadic
#A74B9D #9DA74B #4B9DA7
tetradic
#A74B9D #A7834B #4BA755 #4B6FA7
square
#A74B9D #A7834B #4BA755 #4B6FA7
split-complementary
#A74B9D #6FA74B #4BA783
monochromatic
#53254E #7D3875 #A74B9D #BF70B6 #D29BCC

Accessibility & contrast

On white

5.08
#A74B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A74B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74B9D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74B9D#FFFFFF#000000##FFFFFF
##A74B9D1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4766A0
Deuteranopia (green-blind)
#63739A
Tritanopia (blue-blind)
#AD526D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a74b9d;
/* rgb */ color: rgb(167, 75, 157);
/* oklch */ color: oklch(55.9% 0.158 331.8);
Tailwind
colors: {
  custom: {
    50: '#c382ba',
    500: '#a74b9d',
    950: '#000000',
  },
}
SCSS
$custom: #a74b9d;
$custom-light: #c382ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a74b9d",
  "rgb": {
    "r": 167,
    "g": 75,
    "b": 157
  },
  "hsl": {
    "h": 306.522,
    "s": 38.017,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55949,
    "c": 0.15779,
    "h": 331.8
  },
  "luminance": 0.15682
}

Semantic roles & 50–950 ramp

primary
#A74B9D
secondary
#8FBE95
accent
#CE665A
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #A74B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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