#A74FE8#A74FE8

#A74FE8 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.8% C 0.224 H 307.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A74FE8
RGBrgb(167, 79, 232)
HSLhsl(275, 77%, 61%)
HSVhsv(275, 66%, 91%)
CMYKcmyk(28%, 65.9%, 0%, 9%)
CIE-LABlab(51.42, 61.86, -62.99)
CIE-LCHlch(51.42, 88.28, 314.48°)
OKLaboklab(60.83% 0.1363 -0.1784)
OKLCHoklch(60.83% 0.224 307.4)
XYZxyz(33.2948, 19.6341, 78.3641)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FE8 #90E84F
analogous
#5A4FE8 #A74FE8 #E84FDC
triadic
#A74FE8 #E8A74F #4FE8A7
tetradic
#A74FE8 #E85A4F #90E84F #4FDCE8
square
#A74FE8 #E85A4F #90E84F #4FDCE8
split-complementary
#A74FE8 #DCE84F #4FE85A
monochromatic
#6916A7 #8B1DDD #A74FE8 #C285EF #DDBBF6

Accessibility & contrast

On white

4.26
#A74FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A74FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74FE8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FE8#FFFFFF#000000##000000
##A74FE81.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#2C7BE5
Tritanopia (blue-blind)
#9D7095
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a74fe8;
/* rgb */ color: rgb(167, 79, 232);
/* oklch */ color: oklch(60.8% 0.224 307.4);
Tailwind
colors: {
  custom: {
    50: '#c686f0',
    500: '#a74fe8',
    950: '#000000',
  },
}
SCSS
$custom: #a74fe8;
$custom-light: #c686f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fe8",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 274.51,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60829,
    "c": 0.22447,
    "h": 307.4
  },
  "luminance": 0.19634
}

Semantic roles & 50–950 ramp

primary
#A74FE8
secondary
#C5E6AD
accent
#D90C63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A74FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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