#A74EC8#A74EC8

#A74EC8 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.7% C 0.194 H 315.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A74EC8
RGBrgb(167, 78, 200)
HSLhsl(284, 53%, 55%)
HSVhsv(284, 61%, 78%)
CMYKcmyk(16.5%, 61%, 0%, 21.6%)
CIE-LABlab(49.30, 55.49, -48.18)
CIE-LCHlch(49.30, 73.48, 319.03°)
OKLaboklab(58.67% 0.1388 -0.1349)
OKLCHoklch(58.67% 0.194 315.8)
XYZxyz(29.0845, 17.8354, 56.5429)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EC8 #6FC84E
analogous
#6A4EC8 #A74EC8 #C84EAC
triadic
#A74EC8 #C8A74E #4EC8A7
tetradic
#A74EC8 #C86A4E #6FC84E #4EACC8
square
#A74EC8 #C86A4E #6FC84E #4EACC8
split-complementary
#A74EC8 #ACC84E #4EC86A
monochromatic
#612577 #8733A5 #A74EC8 #BE7DD7 #D5ABE5

Accessibility & contrast

On white

4.60
#A74EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#A74EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A74EC8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74EC8#FFFFFF#000000##FFFFFF
##A74EC81.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2770CC
Deuteranopia (green-blind)
#4E78C5
Tritanopia (blue-blind)
#A56384
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a74ec8;
/* rgb */ color: rgb(167, 78, 200);
/* oklch */ color: oklch(58.7% 0.194 315.8);
Tailwind
colors: {
  custom: {
    50: '#c485d9',
    500: '#a74ec8',
    950: '#000000',
  },
}
SCSS
$custom: #a74ec8;
$custom-light: #c485d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ec8",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 283.77,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58669,
    "c": 0.19358,
    "h": 315.8
  },
  "luminance": 0.17834
}

Semantic roles & 50–950 ramp

primary
#A74EC8
secondary
#ADD39F
accent
#DC4C73
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #A74EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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