#A74FD5#A74FD5

#A74FD5 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.6% C 0.205 H 312.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A74FD5
RGBrgb(167, 79, 213)
HSLhsl(279, 61%, 57%)
HSVhsv(279, 63%, 84%)
CMYKcmyk(21.6%, 62.9%, 0%, 16.5%)
CIE-LABlab(50.23, 57.73, -54.13)
CIE-LCHlch(50.23, 79.14, 316.84°)
OKLaboklab(59.59% 0.1375 -0.1524)
OKLCHoklch(59.59% 0.205 312)
XYZxyz(30.7404, 18.6123, 64.9111)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FD5 #7DD54F
analogous
#644FD5 #A74FD5 #D54FC0
triadic
#A74FD5 #D5A74F #4FD5A7
tetradic
#A74FD5 #D5644F #7DD54F #4FC0D5
square
#A74FD5 #D5644F #7DD54F #4FC0D5
split-complementary
#A74FD5 #C0D54F #4FD564
monochromatic
#652189 #8A2CBA #A74FD5 #C080E1 #D8B2ED

Accessibility & contrast

On white

4.45
#A74FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A74FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74FD5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FD5#FFFFFF#000000##000000
##A74FD51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F73D9
Deuteranopia (green-blind)
#4479D2
Tritanopia (blue-blind)
#A2698B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a74fd5;
/* rgb */ color: rgb(167, 79, 213);
/* oklch */ color: oklch(59.6% 0.205 312.0);
Tailwind
colors: {
  custom: {
    50: '#c585e3',
    500: '#a74fd5',
    950: '#000000',
  },
}
SCSS
$custom: #a74fd5;
$custom-light: #c585e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fd5",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 279.403,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59591,
    "c": 0.20522,
    "h": 312
  },
  "luminance": 0.18612
}

Semantic roles & 50–950 ramp

primary
#A74FD5
secondary
#B7DBA5
accent
#E5437B
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A74FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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