#A74EC2#A74EC2

#A74EC2 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.3% C 0.188 H 317.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A74EC2
RGBrgb(167, 78, 194)
HSLhsl(286, 49%, 53%)
HSVhsv(286, 60%, 76%)
CMYKcmyk(13.9%, 59.8%, 0%, 23.9%)
CIE-LABlab(48.96, 54.26, -45.25)
CIE-LCHlch(48.96, 70.66, 320.17°)
OKLaboklab(58.32% 0.1387 -0.1264)
OKLCHoklch(58.32% 0.188 317.6)
XYZxyz(28.3970, 17.5604, 52.9221)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EC2 #69C24E
analogous
#6D4EC2 #A74EC2 #C24EA3
triadic
#A74EC2 #C2A74E #4EC2A7
tetradic
#A74EC2 #C26D4E #69C24E #4EA3C2
square
#A74EC2 #C26D4E #69C24E #4EA3C2
split-complementary
#A74EC2 #A3C24E #4EC26D
monochromatic
#5E266F #85369D #A74EC2 #BE7CD2 #D4A9E1

Accessibility & contrast

On white

4.65
#A74EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#A74EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A74EC2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74EC2#FFFFFF#000000##FFFFFF
##A74EC21.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6FC6
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#A66181
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a74ec2;
/* rgb */ color: rgb(167, 78, 194);
/* oklch */ color: oklch(58.3% 0.188 317.6);
Tailwind
colors: {
  custom: {
    50: '#c484d5',
    500: '#a74ec2',
    950: '#000000',
  },
}
SCSS
$custom: #a74ec2;
$custom-light: #c484d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ec2",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 286.034,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58315,
    "c": 0.18764,
    "h": 317.6
  },
  "luminance": 0.17559
}

Semantic roles & 50–950 ramp

primary
#A74EC2
secondary
#A9CF9D
accent
#D8506F
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A74EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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