#A74FE2#A74FE2

#A74FE2 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.4% C 0.218 H 308.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A74FE2
RGBrgb(167, 79, 226)
HSLhsl(276, 72%, 60%)
HSVhsv(276, 65%, 89%)
CMYKcmyk(26.1%, 65%, 0%, 11.4%)
CIE-LABlab(51.04, 60.54, -60.23)
CIE-LCHlch(51.04, 85.39, 315.15°)
OKLaboklab(60.43% 0.1368 -0.1703)
OKLCHoklch(60.43% 0.218 308.8)
XYZxyz(32.4570, 19.2990, 73.9520)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FE2 #8AE24F
analogous
#5D4FE2 #A74FE2 #E24FD4
triadic
#A74FE2 #E2A74F #4FE2A7
tetradic
#A74FE2 #E25D4F #8AE24F #4FD4E2
square
#A74FE2 #E25D4F #8AE24F #4FD4E2
split-complementary
#A74FE2 #D4E24F #4FE25D
monochromatic
#681A9D #8B22D1 #A74FE2 #C184EB #DCB8F3

Accessibility & contrast

On white

4.32
#A74FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#A74FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74FE2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FE2#FFFFFF#000000##000000
##A74FE21.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#357BDF
Tritanopia (blue-blind)
#9E6E92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a74fe2;
/* rgb */ color: rgb(167, 79, 226);
/* oklch */ color: oklch(60.4% 0.218 308.8);
Tailwind
colors: {
  custom: {
    50: '#c586ec',
    500: '#a74fe2',
    950: '#000000',
  },
}
SCSS
$custom: #a74fe2;
$custom-light: #c586ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fe2",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 275.918,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60429,
    "c": 0.21838,
    "h": 308.8
  },
  "luminance": 0.19298
}

Semantic roles & 50–950 ramp

primary
#A74FE2
secondary
#C1E3AA
accent
#EE3982
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A74FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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