#A74FDA#A74FDA

#A74FDA is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.9% C 0.210 H 310.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A74FDA
RGBrgb(167, 79, 218)
HSLhsl(278, 65%, 58%)
HSVhsv(278, 64%, 85%)
CMYKcmyk(23.4%, 63.8%, 0%, 14.5%)
CIE-LABlab(50.53, 58.80, -56.49)
CIE-LCHlch(50.53, 81.54, 316.15°)
OKLaboklab(59.91% 0.1373 -0.1593)
OKLCHoklch(59.91% 0.21 310.7)
XYZxyz(31.3848, 18.8701, 68.3051)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FDA #82DA4F
analogous
#614FDA #A74FDA #DA4FC7
triadic
#A74FDA #DAA74F #4FDAA7
tetradic
#A74FDA #DA614F #82DA4F #4FC7DA
square
#A74FDA #DA614F #82DA4F #4FC7DA
split-complementary
#A74FDA #C7DA4F #4FDA61
monochromatic
#661E90 #8A29C3 #A74FDA #C082E5 #DAB4EF

Accessibility & contrast

On white

4.40
#A74FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A74FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74FDA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FDA#FFFFFF#000000##000000
##A74FDA1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#3F7AD7
Tritanopia (blue-blind)
#A06B8E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a74fda;
/* rgb */ color: rgb(167, 79, 218);
/* oklch */ color: oklch(59.9% 0.210 310.7);
Tailwind
colors: {
  custom: {
    50: '#c586e6',
    500: '#a74fda',
    950: '#000000',
  },
}
SCSS
$custom: #a74fda;
$custom-light: #c586e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fda",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 277.986,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59909,
    "c": 0.21028,
    "h": 310.7
  },
  "luminance": 0.18869
}

Semantic roles & 50–950 ramp

primary
#A74FDA
secondary
#BBDEA7
accent
#E8407D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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