#A74DB2#A74DB2

#A74DB2 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.3% C 0.174 H 323.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A74DB2
RGBrgb(167, 77, 178)
HSLhsl(293, 40%, 50%)
HSVhsv(293, 57%, 70%)
CMYKcmyk(6.2%, 56.7%, 0%, 30.2%)
CIE-LABlab(47.93, 51.60, -37.57)
CIE-LCHlch(47.93, 63.83, 323.94°)
OKLaboklab(57.29% 0.139 -0.1041)
OKLCHoklch(57.29% 0.174 323.2)
XYZxyz(26.6253, 16.7389, 43.9393)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74DB2 #58B24D
analogous
#744DB2 #A74DB2 #B24D8B
triadic
#A74DB2 #B2A74D #4DB2A7
tetradic
#A74DB2 #B2744D #58B24D #4D8BB2
square
#A74DB2 #B2744D #58B24D #4D8BB2
split-complementary
#A74DB2 #8BB24D #4DB274
monochromatic
#57285D #7F3B87 #A74DB2 #BC78C4 #D1A2D7

Accessibility & contrast

On white

4.83
#A74DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A74DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74DB2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74DB2#FFFFFF#000000##FFFFFF
##A74DB21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB5
Deuteranopia (green-blind)
#5B75AF
Tritanopia (blue-blind)
#AA5B78
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a74db2;
/* rgb */ color: rgb(167, 77, 178);
/* oklch */ color: oklch(57.3% 0.174 323.2);
Tailwind
colors: {
  custom: {
    50: '#c483c9',
    500: '#a74db2',
    950: '#000000',
  },
}
SCSS
$custom: #a74db2;
$custom-light: #c483c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a74db2",
  "rgb": {
    "r": 167,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 293.465,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.57287,
    "c": 0.17365,
    "h": 323.2
  },
  "luminance": 0.16738
}

Semantic roles & 50–950 ramp

primary
#A74DB2
secondary
#9CC497
accent
#CF5865
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A74DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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