#A74FD9#A74FD9

#A74FD9 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.8% C 0.209 H 311.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A74FD9
RGBrgb(167, 79, 217)
HSLhsl(278, 64%, 58%)
HSVhsv(278, 64%, 85%)
CMYKcmyk(23%, 63.6%, 0%, 14.9%)
CIE-LABlab(50.47, 58.59, -56.02)
CIE-LCHlch(50.47, 81.06, 316.28°)
OKLaboklab(59.85% 0.1373 -0.1579)
OKLCHoklch(59.85% 0.209 311)
XYZxyz(31.2544, 18.8179, 67.6180)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FD9 #81D94F
analogous
#624FD9 #A74FD9 #D94FC6
triadic
#A74FD9 #D9A74F #4FD9A7
tetradic
#A74FD9 #D9624F #81D94F #4FC6D9
square
#A74FD9 #D9624F #81D94F #4FC6D9
split-complementary
#A74FD9 #C6D94F #4FD962
monochromatic
#661F8F #8A2AC1 #A74FD9 #C081E4 #D9B4EF

Accessibility & contrast

On white

4.41
#A74FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A74FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74FD9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FD9#FFFFFF#000000##000000
##A74FD91.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#407AD6
Tritanopia (blue-blind)
#A16A8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a74fd9;
/* rgb */ color: rgb(167, 79, 217);
/* oklch */ color: oklch(59.8% 0.209 311.0);
Tailwind
colors: {
  custom: {
    50: '#c586e5',
    500: '#a74fd9',
    950: '#000000',
  },
}
SCSS
$custom: #a74fd9;
$custom-light: #c586e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fd9",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 278.261,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59845,
    "c": 0.20926,
    "h": 311
  },
  "luminance": 0.18817
}

Semantic roles & 50–950 ramp

primary
#A74FD9
secondary
#BADDA6
accent
#E7407D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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