#A74DB7#A74DB7

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

Color values

HEX#A74DB7
RGBrgb(167, 77, 183)
HSLhsl(291, 42%, 51%)
HSVhsv(291, 58%, 72%)
CMYKcmyk(8.7%, 57.9%, 0%, 28.2%)
CIE-LABlab(48.19, 52.56, -40.08)
CIE-LCHlch(48.19, 66.10, 322.67°)
OKLaboklab(57.56% 0.1394 -0.1114)
OKLCHoklch(57.56% 0.178 321.4)
XYZxyz(27.1365, 16.9434, 46.6316)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74DB7 #5DB74D
analogous
#724DB7 #A74DB7 #B74D92
triadic
#A74DB7 #B7A74D #4DB7A7
tetradic
#A74DB7 #B7724D #5DB74D #4D92B7
square
#A74DB7 #B7724D #5DB74D #4D92B7
split-complementary
#A74DB7 #92B74D #4DB772
monochromatic
#592862 #81398E #A74DB7 #BD79C9 #D2A4DA

Accessibility & contrast

On white

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

On black

4.39
#A74DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A74DB7#FFFFFF#000000##FFFFFF
##A74DB71.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386CBA
Deuteranopia (green-blind)
#5876B4
Tritanopia (blue-blind)
#A95D7B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a74db7;
/* rgb */ color: rgb(167, 77, 183);
/* oklch */ color: oklch(57.6% 0.178 321.4);
Tailwind
colors: {
  custom: {
    50: '#c484cd',
    500: '#a74db7',
    950: '#000000',
  },
}
SCSS
$custom: #a74db7;
$custom-light: #c484cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a74db7",
  "rgb": {
    "r": 167,
    "g": 77,
    "b": 183
  },
  "hsl": {
    "h": 290.943,
    "s": 42.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57561,
    "c": 0.17843,
    "h": 321.4
  },
  "luminance": 0.16942
}

Semantic roles & 50–950 ramp

primary
#A74DB7
secondary
#A0C798
accent
#D25668
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #A74DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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