#A74CB2#A74CB2

#A74CB2 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.2% C 0.175 H 323.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A74CB2
RGBrgb(167, 76, 178)
HSLhsl(294, 40%, 50%)
HSVhsv(294, 57%, 70%)
CMYKcmyk(6.2%, 57.3%, 0%, 30.2%)
CIE-LABlab(47.75, 52.08, -37.85)
CIE-LCHlch(47.75, 64.38, 323.99°)
OKLaboklab(57.16% 0.1403 -0.1049)
OKLCHoklch(57.16% 0.175 323.2)
XYZxyz(26.5559, 16.6001, 43.9162)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74CB2 #57B24C
analogous
#744CB2 #A74CB2 #B24C8A
triadic
#A74CB2 #B2A74C #4CB2A7
tetradic
#A74CB2 #B2744C #57B24C #4C8AB2
square
#A74CB2 #B2744C #57B24C #4C8AB2
split-complementary
#A74CB2 #8AB24C #4CB274
monochromatic
#57275C #7F3A87 #A74CB2 #BC76C5 #D1A1D7

Accessibility & contrast

On white

4.86
#A74CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A74CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74CB2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74CB2#FFFFFF#000000##FFFFFF
##A74CB21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB5
Deuteranopia (green-blind)
#5A75AF
Tritanopia (blue-blind)
#AA5A78
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a74cb2;
/* rgb */ color: rgb(167, 76, 178);
/* oklch */ color: oklch(57.2% 0.175 323.2);
Tailwind
colors: {
  custom: {
    50: '#c483c9',
    500: '#a74cb2',
    950: '#000000',
  },
}
SCSS
$custom: #a74cb2;
$custom-light: #c483c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a74cb2",
  "rgb": {
    "r": 167,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 293.529,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57158,
    "c": 0.17519,
    "h": 323.2
  },
  "luminance": 0.16599
}

Semantic roles & 50–950 ramp

primary
#A74CB2
secondary
#9BC496
accent
#D05865
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A74CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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