#A74FE7#A74FE7

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

Color values

HEX#A74FE7
RGBrgb(167, 79, 231)
HSLhsl(275, 76%, 61%)
HSVhsv(275, 66%, 91%)
CMYKcmyk(27.7%, 65.8%, 0%, 9.4%)
CIE-LABlab(51.36, 61.64, -62.53)
CIE-LCHlch(51.36, 87.80, 314.59°)
OKLaboklab(60.76% 0.1364 -0.177)
OKLCHoklch(60.76% 0.223 307.6)
XYZxyz(33.1531, 19.5774, 77.6181)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FE7 #8FE74F
analogous
#5B4FE7 #A74FE7 #E74FDB
triadic
#A74FE7 #E7A74F #4FE7A7
tetradic
#A74FE7 #E75B4F #8FE74F #4FDBE7
square
#A74FE7 #E75B4F #8FE74F #4FDBE7
split-complementary
#A74FE7 #DBE74F #4FE75B
monochromatic
#6917A5 #8B1EDB #A74FE7 #C285EE #DDBBF6

Accessibility & contrast

On white

4.27
#A74FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#A74FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74FE7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FE7#FFFFFF#000000##000000
##A74FE71.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#2E7BE4
Tritanopia (blue-blind)
#9D6F95
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a74fe7;
/* rgb */ color: rgb(167, 79, 231);
/* oklch */ color: oklch(60.8% 0.223 307.6);
Tailwind
colors: {
  custom: {
    50: '#c686ef',
    500: '#a74fe7',
    950: '#000000',
  },
}
SCSS
$custom: #a74fe7;
$custom-light: #c686ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fe7",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 274.737,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60762,
    "c": 0.22345,
    "h": 307.6
  },
  "luminance": 0.19577
}

Semantic roles & 50–950 ramp

primary
#A74FE7
secondary
#C4E6AC
accent
#D80D63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A74FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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