#A74ED2#A74ED2

#A74ED2 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.3% C 0.204 H 312.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A74ED2
RGBrgb(167, 78, 210)
HSLhsl(280, 59%, 56%)
HSVhsv(280, 63%, 82%)
CMYKcmyk(20.5%, 62.9%, 0%, 17.6%)
CIE-LABlab(49.88, 57.57, -52.98)
CIE-LCHlch(49.88, 78.24, 317.37°)
OKLaboklab(59.28% 0.1387 -0.149)
OKLCHoklch(59.28% 0.204 312.9)
XYZxyz(30.2916, 18.3183, 62.9004)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74ED2 #79D24E
analogous
#654ED2 #A74ED2 #D24EBB
triadic
#A74ED2 #D2A74E #4ED2A7
tetradic
#A74ED2 #D2654E #79D24E #4EBBD2
square
#A74ED2 #D2654E #79D24E #4EBBD2
split-complementary
#A74ED2 #BBD24E #4ED265
monochromatic
#642284 #892EB5 #A74ED2 #BF7FDE #D8B0EB

Accessibility & contrast

On white

4.50
#A74ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A74ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74ED2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74ED2#FFFFFF#000000##000000
##A74ED21.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1472D6
Deuteranopia (green-blind)
#4679CF
Tritanopia (blue-blind)
#A36789
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a74ed2;
/* rgb */ color: rgb(167, 78, 210);
/* oklch */ color: oklch(59.3% 0.204 312.9);
Tailwind
colors: {
  custom: {
    50: '#c585e0',
    500: '#a74ed2',
    950: '#000000',
  },
}
SCSS
$custom: #a74ed2;
$custom-light: #c585e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ed2",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 280.455,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5928,
    "c": 0.20358,
    "h": 312.9
  },
  "luminance": 0.18317
}

Semantic roles & 50–950 ramp

primary
#A74ED2
secondary
#B4D9A3
accent
#E34578
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A74ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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