#A74FB3#A74FB3

#A74FB3 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.6% C 0.172 H 322.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A74FB3
RGBrgb(167, 79, 179)
HSLhsl(293, 40%, 51%)
HSVhsv(293, 56%, 70%)
CMYKcmyk(6.7%, 55.9%, 0%, 29.8%)
CIE-LABlab(48.34, 50.82, -37.51)
CIE-LCHlch(48.34, 63.16, 323.57°)
OKLaboklab(57.61% 0.1364 -0.1039)
OKLCHoklch(57.61% 0.172 322.7)
XYZxyz(26.8682, 17.0634, 44.5174)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FB3 #5BB34F
analogous
#754FB3 #A74FB3 #B34F8D
triadic
#A74FB3 #B3A74F #4FB3A7
tetradic
#A74FB3 #B3754F #5BB34F #4F8DB3
square
#A74FB3 #B3754F #5BB34F #4F8DB3
split-complementary
#A74FB3 #8DB34F #4FB375
monochromatic
#58295F #803B89 #A74FB3 #BC7AC5 #D2A4D8

Accessibility & contrast

On white

4.76
#A74FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#A74FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74FB3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FB3#FFFFFF#000000##FFFFFF
##A74FB31.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6CB6
Deuteranopia (green-blind)
#5C76B0
Tritanopia (blue-blind)
#A95D79
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a74fb3;
/* rgb */ color: rgb(167, 79, 179);
/* oklch */ color: oklch(57.6% 0.172 322.7);
Tailwind
colors: {
  custom: {
    50: '#c485ca',
    500: '#a74fb3',
    950: '#000000',
  },
}
SCSS
$custom: #a74fb3;
$custom-light: #c485ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fb3",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 292.8,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.17151,
    "h": 322.7
  },
  "luminance": 0.17062
}

Semantic roles & 50–950 ramp

primary
#A74FB3
secondary
#9EC599
accent
#D05867
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A74FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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