#A74CD5#A74CD5

#A74CD5 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.2% C 0.209 H 312.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A74CD5
RGBrgb(167, 76, 213)
HSLhsl(280, 62%, 57%)
HSVhsv(280, 64%, 84%)
CMYKcmyk(21.6%, 64.3%, 0%, 16.5%)
CIE-LABlab(49.72, 59.12, -54.95)
CIE-LCHlch(49.72, 80.71, 317.10°)
OKLaboklab(59.23% 0.1409 -0.1547)
OKLCHoklch(59.23% 0.209 312.3)
XYZxyz(30.5289, 18.1893, 64.8406)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74CD5 #7AD54C
analogous
#634CD5 #A74CD5 #D54CBF
triadic
#A74CD5 #D5A74C #4CD5A7
tetradic
#A74CD5 #D5634C #7AD54C #4CBFD5
square
#A74CD5 #D5634C #7AD54C #4CBFD5
split-complementary
#A74CD5 #BFD54C #4CD563
monochromatic
#642087 #892BB9 #A74CD5 #BF7EE1 #D8AFEC

Accessibility & contrast

On white

4.53
#A74CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#A74CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74CD5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74CD5#FFFFFF#000000##000000
##A74CD51.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072D9
Deuteranopia (green-blind)
#4178D2
Tritanopia (blue-blind)
#A2678A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a74cd5;
/* rgb */ color: rgb(167, 76, 213);
/* oklch */ color: oklch(59.2% 0.209 312.3);
Tailwind
colors: {
  custom: {
    50: '#c584e3',
    500: '#a74cd5',
    950: '#000000',
  },
}
SCSS
$custom: #a74cd5;
$custom-light: #c584e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a74cd5",
  "rgb": {
    "r": 167,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 279.854,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59226,
    "c": 0.20929,
    "h": 312.3
  },
  "luminance": 0.18188
}

Semantic roles & 50–950 ramp

primary
#A74CD5
secondary
#B5DAA2
accent
#E54379
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A74CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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