#A74EC6#A74EC6

#A74EC6 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.6% C 0.192 H 316.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A74EC6
RGBrgb(167, 78, 198)
HSLhsl(285, 51%, 54%)
HSVhsv(285, 61%, 78%)
CMYKcmyk(15.7%, 60.6%, 0%, 22.4%)
CIE-LABlab(49.18, 55.08, -47.21)
CIE-LCHlch(49.18, 72.54, 319.40°)
OKLaboklab(58.55% 0.1388 -0.1321)
OKLCHoklch(58.55% 0.192 316.4)
XYZxyz(28.8522, 17.7425, 55.3200)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EC6 #6DC64E
analogous
#6B4EC6 #A74EC6 #C64EA9
triadic
#A74EC6 #C6A74E #4EC6A7
tetradic
#A74EC6 #C66B4E #6DC64E #4EA9C6
square
#A74EC6 #C66B4E #6DC64E #4EA9C6
split-complementary
#A74EC6 #A9C64E #4EC66B
monochromatic
#602574 #8634A2 #A74EC6 #BE7CD5 #D5ABE4

Accessibility & contrast

On white

4.62
#A74EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A74EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A74EC6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74EC6#FFFFFF#000000##FFFFFF
##A74EC61.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6FCA
Deuteranopia (green-blind)
#4F78C3
Tritanopia (blue-blind)
#A56383
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a74ec6;
/* rgb */ color: rgb(167, 78, 198);
/* oklch */ color: oklch(58.6% 0.192 316.4);
Tailwind
colors: {
  custom: {
    50: '#c484d8',
    500: '#a74ec6',
    950: '#000000',
  },
}
SCSS
$custom: #a74ec6;
$custom-light: #c484d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ec6",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 198
  },
  "hsl": {
    "h": 284.5,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5855,
    "c": 0.1916,
    "h": 316.4
  },
  "luminance": 0.17741
}

Semantic roles & 50–950 ramp

primary
#A74EC6
secondary
#ACD19E
accent
#DB4D72
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A74EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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