#A74EB3#A74EB3

#A74EB3 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.5% C 0.173 H 322.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A74EB3
RGBrgb(167, 78, 179)
HSLhsl(293, 40%, 50%)
HSVhsv(293, 56%, 70%)
CMYKcmyk(6.7%, 56.4%, 0%, 29.8%)
CIE-LABlab(48.16, 51.31, -37.79)
CIE-LCHlch(48.16, 63.72, 323.62°)
OKLaboklab(57.47% 0.1378 -0.1047)
OKLCHoklch(57.47% 0.173 322.8)
XYZxyz(26.7966, 16.9203, 44.4935)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EB3 #5AB34E
analogous
#744EB3 #A74EB3 #B34E8D
triadic
#A74EB3 #B3A74E #4EB3A7
tetradic
#A74EB3 #B3744E #5AB34E #4E8DB3
square
#A74EB3 #B3744E #5AB34E #4E8DB3
split-complementary
#A74EB3 #8DB34E #4EB374
monochromatic
#58285E #803B89 #A74EB3 #BC79C5 #D2A4D8

Accessibility & contrast

On white

4.79
#A74EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A74EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74EB3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74EB3#FFFFFF#000000##FFFFFF
##A74EB31.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6CB6
Deuteranopia (green-blind)
#5B76B0
Tritanopia (blue-blind)
#A95C79
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a74eb3;
/* rgb */ color: rgb(167, 78, 179);
/* oklch */ color: oklch(57.5% 0.173 322.8);
Tailwind
colors: {
  custom: {
    50: '#c484ca',
    500: '#a74eb3',
    950: '#000000',
  },
}
SCSS
$custom: #a74eb3;
$custom-light: #c484ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a74eb3",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 292.871,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57472,
    "c": 0.17306,
    "h": 322.8
  },
  "luminance": 0.16919
}

Semantic roles & 50–950 ramp

primary
#A74EB3
secondary
#9DC598
accent
#D05866
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A74EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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