#A74AE4#A74AE4

#A74AE4 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 60.0% C 0.227 H 308.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A74AE4
RGBrgb(167, 74, 228)
HSLhsl(276, 74%, 59%)
HSVhsv(276, 68%, 89%)
CMYKcmyk(26.8%, 67.5%, 0%, 10.6%)
CIE-LABlab(50.35, 63.23, -62.46)
CIE-LCHlch(50.35, 88.87, 315.35°)
OKLaboklab(59.98% 0.142 -0.1768)
OKLCHoklch(59.98% 0.227 308.8)
XYZxyz(32.3859, 18.7150, 75.2900)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74AE4 #87E44A
analogous
#5A4AE4 #A74AE4 #E44AD4
triadic
#A74AE4 #E4A74A #4AE4A7
tetradic
#A74AE4 #E45A4A #87E44A #4AD4E4
square
#A74AE4 #E45A4A #87E44A #4AD4E4
split-complementary
#A74AE4 #D4E44A #4AE45A
monochromatic
#68179C #8B1FD2 #A74AE4 #C17FEC #DBB5F4

Accessibility & contrast

On white

4.43
#A74AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A74AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74AE4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74AE4#FFFFFF#000000##000000
##A74AE41.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#2B79E1
Tritanopia (blue-blind)
#9E6B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a74ae4;
/* rgb */ color: rgb(167, 74, 228);
/* oklch */ color: oklch(60.0% 0.227 308.8);
Tailwind
colors: {
  custom: {
    50: '#c683ed',
    500: '#a74ae4',
    950: '#000000',
  },
}
SCSS
$custom: #a74ae4;
$custom-light: #c683ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ae4",
  "rgb": {
    "r": 167,
    "g": 74,
    "b": 228
  },
  "hsl": {
    "h": 276.234,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5998,
    "c": 0.22673,
    "h": 308.8
  },
  "luminance": 0.18714
}

Semantic roles & 50–950 ramp

primary
#A74AE4
secondary
#BFE3A7
accent
#F13781
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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