#A74FD4#A74FD4

#A74FD4 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.5% C 0.204 H 312.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A74FD4
RGBrgb(167, 79, 212)
HSLhsl(280, 61%, 57%)
HSVhsv(280, 63%, 83%)
CMYKcmyk(21.2%, 62.7%, 0%, 16.9%)
CIE-LABlab(50.17, 57.52, -53.66)
CIE-LCHlch(50.17, 78.66, 316.99°)
OKLaboklab(59.53% 0.1375 -0.151)
OKLCHoklch(59.53% 0.204 312.3)
XYZxyz(30.6139, 18.5617, 64.2447)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FD4 #7CD44F
analogous
#644FD4 #A74FD4 #D44FBF
triadic
#A74FD4 #D4A74F #4FD4A7
tetradic
#A74FD4 #D4644F #7CD44F #4FBFD4
square
#A74FD4 #D4644F #7CD44F #4FBFD4
split-complementary
#A74FD4 #BFD44F #4FD464
monochromatic
#652187 #892DB9 #A74FD4 #C080E0 #D8B1EC

Accessibility & contrast

On white

4.46
#A74FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A74FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74FD4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FD4#FFFFFF#000000##000000
##A74FD41.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1273D8
Deuteranopia (green-blind)
#4579D1
Tritanopia (blue-blind)
#A2688A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a74fd4;
/* rgb */ color: rgb(167, 79, 212);
/* oklch */ color: oklch(59.5% 0.204 312.3);
Tailwind
colors: {
  custom: {
    50: '#c585e2',
    500: '#a74fd4',
    950: '#000000',
  },
}
SCSS
$custom: #a74fd4;
$custom-light: #c585e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fd4",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 279.699,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59529,
    "c": 0.20421,
    "h": 312.3
  },
  "luminance": 0.18561
}

Semantic roles & 50–950 ramp

primary
#A74FD4
secondary
#B7DAA4
accent
#E4447A
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A74FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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