#A74FE4#A74FE4

#A74FE4 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.6% C 0.220 H 308.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A74FE4
RGBrgb(167, 79, 228)
HSLhsl(275, 73%, 60%)
HSVhsv(275, 65%, 89%)
CMYKcmyk(26.8%, 65.4%, 0%, 10.6%)
CIE-LABlab(51.16, 60.98, -61.15)
CIE-LCHlch(51.16, 86.36, 314.92°)
OKLaboklab(60.56% 0.1366 -0.173)
OKLCHoklch(60.56% 0.22 308.3)
XYZxyz(32.7331, 19.4094, 75.4058)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FE4 #8CE44F
analogous
#5C4FE4 #A74FE4 #E44FD7
triadic
#A74FE4 #E4A74F #4FE4A7
tetradic
#A74FE4 #E45C4F #8CE44F #4FD7E4
square
#A74FE4 #E45C4F #8CE44F #4FD7E4
split-complementary
#A74FE4 #D7E44F #4FE45C
monochromatic
#6919A0 #8B21D5 #A74FE4 #C284EC #DCB9F4

Accessibility & contrast

On white

4.30
#A74FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A74FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74FE4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FE4#FFFFFF#000000##000000
##A74FE41.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#327BE1
Tritanopia (blue-blind)
#9E6E93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a74fe4;
/* rgb */ color: rgb(167, 79, 228);
/* oklch */ color: oklch(60.6% 0.220 308.3);
Tailwind
colors: {
  custom: {
    50: '#c586ed',
    500: '#a74fe4',
    950: '#000000',
  },
}
SCSS
$custom: #a74fe4;
$custom-light: #c586ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fe4",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 275.436,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60562,
    "c": 0.22041,
    "h": 308.3
  },
  "luminance": 0.19409
}

Semantic roles & 50–950 ramp

primary
#A74FE4
secondary
#C2E4AB
accent
#D61061
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A74FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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