#A74EC7#A74EC7

#A74EC7 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.6% C 0.193 H 316.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A74EC7
RGBrgb(167, 78, 199)
HSLhsl(284, 52%, 54%)
HSVhsv(284, 61%, 78%)
CMYKcmyk(16.1%, 60.8%, 0%, 22%)
CIE-LABlab(49.24, 55.28, -47.69)
CIE-LCHlch(49.24, 73.01, 319.21°)
OKLaboklab(58.61% 0.1388 -0.1335)
OKLCHoklch(58.61% 0.193 316.1)
XYZxyz(28.9680, 17.7888, 55.9294)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EC7 #6EC74E
analogous
#6B4EC7 #A74EC7 #C74EAB
triadic
#A74EC7 #C7A74E #4EC7A7
tetradic
#A74EC7 #C76B4E #6EC74E #4EABC7
square
#A74EC7 #C76B4E #6EC74E #4EABC7
split-complementary
#A74EC7 #ABC74E #4EC76B
monochromatic
#602575 #8634A4 #A74EC7 #BE7CD6 #D5ABE4

Accessibility & contrast

On white

4.61
#A74EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#A74EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A74EC7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74EC7#FFFFFF#000000##FFFFFF
##A74EC71.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2970CB
Deuteranopia (green-blind)
#4F78C4
Tritanopia (blue-blind)
#A56383
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a74ec7;
/* rgb */ color: rgb(167, 78, 199);
/* oklch */ color: oklch(58.6% 0.193 316.1);
Tailwind
colors: {
  custom: {
    50: '#c485d8',
    500: '#a74ec7',
    950: '#000000',
  },
}
SCSS
$custom: #a74ec7;
$custom-light: #c485d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ec7",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 284.132,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58609,
    "c": 0.19259,
    "h": 316.1
  },
  "luminance": 0.17788
}

Semantic roles & 50–950 ramp

primary
#A74EC7
secondary
#ACD29F
accent
#DB4C72
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A74EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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