#A74AE2#A74AE2

#A74AE2 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.8% C 0.225 H 309.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A74AE2
RGBrgb(167, 74, 226)
HSLhsl(277, 72%, 59%)
HSVhsv(277, 67%, 89%)
CMYKcmyk(26.1%, 67.3%, 0%, 11.4%)
CIE-LABlab(50.22, 62.80, -61.54)
CIE-LCHlch(50.22, 87.92, 315.58°)
OKLaboklab(59.85% 0.1422 -0.1741)
OKLCHoklch(59.85% 0.225 309.2)
XYZxyz(32.1099, 18.6046, 73.8363)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74AE2 #85E24A
analogous
#5B4AE2 #A74AE2 #E24AD1
triadic
#A74AE2 #E2A74A #4AE2A7
tetradic
#A74AE2 #E25B4A #85E24A #4AD1E2
square
#A74AE2 #E25B4A #85E24A #4AD1E2
split-complementary
#A74AE2 #D1E24A #4AE25B
monochromatic
#671999 #8B21CE #A74AE2 #C17FEA #DAB3F3

Accessibility & contrast

On white

4.45
#A74AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A74AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74AE2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74AE2#FFFFFF#000000##000000
##A74AE21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#2E79DF
Tritanopia (blue-blind)
#9E6B90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a74ae2;
/* rgb */ color: rgb(167, 74, 226);
/* oklch */ color: oklch(59.8% 0.225 309.2);
Tailwind
colors: {
  custom: {
    50: '#c683ec',
    500: '#a74ae2',
    950: '#000000',
  },
}
SCSS
$custom: #a74ae2;
$custom-light: #c683ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ae2",
  "rgb": {
    "r": 167,
    "g": 74,
    "b": 226
  },
  "hsl": {
    "h": 276.711,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59845,
    "c": 0.22476,
    "h": 309.2
  },
  "luminance": 0.18604
}

Semantic roles & 50–950 ramp

primary
#A74AE2
secondary
#BDE2A6
accent
#EF3980
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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