#A74CD7#A74CD7

#A74CD7 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.4% C 0.211 H 311.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A74CD7
RGBrgb(167, 76, 215)
HSLhsl(279, 63%, 57%)
HSVhsv(279, 65%, 84%)
CMYKcmyk(22.3%, 64.7%, 0%, 15.7%)
CIE-LABlab(49.85, 59.55, -55.89)
CIE-LCHlch(49.85, 81.67, 316.81°)
OKLaboklab(59.35% 0.1408 -0.1575)
OKLCHoklch(59.35% 0.211 311.8)
XYZxyz(30.7843, 18.2914, 66.1857)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74CD7 #7CD74C
analogous
#624CD7 #A74CD7 #D74CC1
triadic
#A74CD7 #D7A74C #4CD7A7
tetradic
#A74CD7 #D7624C #7CD74C #4CC1D7
square
#A74CD7 #D7624C #7CD74C #4CC1D7
split-complementary
#A74CD7 #C1D74C #4CD762
monochromatic
#651F8A #892ABC #A74CD7 #C07EE2 #D8B0ED

Accessibility & contrast

On white

4.51
#A74CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A74CD7#FFFFFF#000000##000000
##A74CD71.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#3F78D4
Tritanopia (blue-blind)
#A1688B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a74cd7;
/* rgb */ color: rgb(167, 76, 215);
/* oklch */ color: oklch(59.4% 0.211 311.8);
Tailwind
colors: {
  custom: {
    50: '#c584e4',
    500: '#a74cd7',
    950: '#000000',
  },
}
SCSS
$custom: #a74cd7;
$custom-light: #c584e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a74cd7",
  "rgb": {
    "r": 167,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 279.281,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59354,
    "c": 0.21128,
    "h": 311.8
  },
  "luminance": 0.18291
}

Semantic roles & 50–950 ramp

primary
#A74CD7
secondary
#B7DCA3
accent
#E6417A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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