#A74FD6#A74FD6

#A74FD6 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.7% C 0.206 H 311.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A74FD6
RGBrgb(167, 79, 214)
HSLhsl(279, 62%, 57%)
HSVhsv(279, 63%, 84%)
CMYKcmyk(22%, 63.1%, 0%, 16.1%)
CIE-LABlab(50.29, 57.95, -54.61)
CIE-LCHlch(50.29, 79.62, 316.70°)
OKLaboklab(59.65% 0.1374 -0.1538)
OKLCHoklch(59.65% 0.206 311.8)
XYZxyz(30.8677, 18.6633, 65.5816)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FD6 #7ED64F
analogous
#634FD6 #A74FD6 #D64FC2
triadic
#A74FD6 #D6A74F #4FD6A7
tetradic
#A74FD6 #D6634F #7ED64F #4FC2D6
square
#A74FD6 #D6634F #7ED64F #4FC2D6
split-complementary
#A74FD6 #C2D64F #4FD663
monochromatic
#65208A #8A2CBC #A74FD6 #C081E2 #D9B2ED

Accessibility & contrast

On white

4.44
#A74FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A74FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74FD6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FD6#FFFFFF#000000##000000
##A74FD61.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B73DA
Deuteranopia (green-blind)
#4379D3
Tritanopia (blue-blind)
#A2698C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a74fd6;
/* rgb */ color: rgb(167, 79, 214);
/* oklch */ color: oklch(59.7% 0.206 311.8);
Tailwind
colors: {
  custom: {
    50: '#c585e3',
    500: '#a74fd6',
    950: '#000000',
  },
}
SCSS
$custom: #a74fd6;
$custom-light: #c585e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fd6",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 279.111,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59654,
    "c": 0.20623,
    "h": 311.8
  },
  "luminance": 0.18662
}

Semantic roles & 50–950 ramp

primary
#A74FD6
secondary
#B8DCA5
accent
#E5437B
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A74FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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