#A74FB1#A74FB1

#A74FB1 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.5% C 0.170 H 323.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A74FB1
RGBrgb(167, 79, 177)
HSLhsl(294, 39%, 50%)
HSVhsv(294, 55%, 69%)
CMYKcmyk(5.6%, 55.4%, 0%, 30.6%)
CIE-LABlab(48.24, 50.44, -36.50)
CIE-LCHlch(48.24, 62.26, 324.11°)
OKLaboklab(57.5% 0.1362 -0.101)
OKLCHoklch(57.5% 0.17 323.5)
XYZxyz(26.6674, 16.9831, 43.4599)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FB1 #59B14F
analogous
#764FB1 #A74FB1 #B14F8A
triadic
#A74FB1 #B1A74F #4FB1A7
tetradic
#A74FB1 #B1764F #59B14F #4F8AB1
square
#A74FB1 #B1764F #59B14F #4F8AB1
split-complementary
#A74FB1 #8AB14F #4FB176
monochromatic
#57295D #7F3C87 #A74FB1 #BC79C4 #D1A4D7

Accessibility & contrast

On white

4.78
#A74FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A74FB1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FB1#FFFFFF#000000##FFFFFF
##A74FB11.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406CB4
Deuteranopia (green-blind)
#5D76AE
Tritanopia (blue-blind)
#AA5C78
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a74fb1;
/* rgb */ color: rgb(167, 79, 177);
/* oklch */ color: oklch(57.5% 0.170 323.5);
Tailwind
colors: {
  custom: {
    50: '#c385c8',
    500: '#a74fb1',
    950: '#000000',
  },
}
SCSS
$custom: #a74fb1;
$custom-light: #c385c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fb1",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 293.878,
    "s": 38.583,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57498,
    "c": 0.16959,
    "h": 323.5
  },
  "luminance": 0.16982
}

Semantic roles & 50–950 ramp

primary
#A74FB1
secondary
#9CC498
accent
#CF5965
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A74FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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