#A74FB2#A74FB2

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

Color values

HEX#A74FB2
RGBrgb(167, 79, 178)
HSLhsl(293, 39%, 50%)
HSVhsv(293, 56%, 70%)
CMYKcmyk(6.2%, 55.6%, 0%, 30.2%)
CIE-LABlab(48.29, 50.63, -37.01)
CIE-LCHlch(48.29, 62.71, 323.84°)
OKLaboklab(57.55% 0.1363 -0.1025)
OKLCHoklch(57.55% 0.171 323.1)
XYZxyz(26.7674, 17.0231, 43.9867)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FB2 #5AB24F
analogous
#754FB2 #A74FB2 #B24F8C
triadic
#A74FB2 #B2A74F #4FB2A7
tetradic
#A74FB2 #B2754F #5AB24F #4F8CB2
square
#A74FB2 #B2754F #5AB24F #4F8CB2
split-complementary
#A74FB2 #8CB24F #4FB275
monochromatic
#58295E #803C88 #A74FB2 #BC7AC5 #D2A4D7

Accessibility & contrast

On white

4.77
#A74FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A74FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74FB2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FB2#FFFFFF#000000##FFFFFF
##A74FB21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#5C76AF
Tritanopia (blue-blind)
#AA5C79
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a74fb2;
/* rgb */ color: rgb(167, 79, 178);
/* oklch */ color: oklch(57.6% 0.171 323.1);
Tailwind
colors: {
  custom: {
    50: '#c385c9',
    500: '#a74fb2',
    950: '#000000',
  },
}
SCSS
$custom: #a74fb2;
$custom-light: #c385c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fb2",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 293.333,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57551,
    "c": 0.17055,
    "h": 323.1
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#A74FB2
secondary
#9DC498
accent
#CF5966
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A74FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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