#A74EE2#A74EE2

#A74EE2 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.3% C 0.220 H 308.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A74EE2
RGBrgb(167, 78, 226)
HSLhsl(276, 72%, 60%)
HSVhsv(276, 65%, 89%)
CMYKcmyk(26.1%, 65.5%, 0%, 11.4%)
CIE-LABlab(50.87, 61.00, -60.49)
CIE-LCHlch(50.87, 85.91, 315.24°)
OKLaboklab(60.31% 0.1379 -0.171)
OKLCHoklch(60.31% 0.22 308.9)
XYZxyz(32.3855, 19.1558, 73.9281)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EE2 #89E24E
analogous
#5D4EE2 #A74EE2 #E24ED3
triadic
#A74EE2 #E2A74E #4EE2A7
tetradic
#A74EE2 #E25D4E #89E24E #4ED3E2
square
#A74EE2 #E25D4E #89E24E #4ED3E2
split-complementary
#A74EE2 #D3E24E #4EE25D
monochromatic
#681A9C #8B22D1 #A74EE2 #C183EB #DBB7F3

Accessibility & contrast

On white

4.35
#A74EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#A74EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74EE2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74EE2#FFFFFF#000000##000000
##A74EE21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#347ADF
Tritanopia (blue-blind)
#9E6D92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a74ee2;
/* rgb */ color: rgb(167, 78, 226);
/* oklch */ color: oklch(60.3% 0.220 308.9);
Tailwind
colors: {
  custom: {
    50: '#c585ec',
    500: '#a74ee2',
    950: '#000000',
  },
}
SCSS
$custom: #a74ee2;
$custom-light: #c585ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ee2",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 276.081,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6031,
    "c": 0.21968,
    "h": 308.9
  },
  "luminance": 0.19155
}

Semantic roles & 50–950 ramp

primary
#A74EE2
secondary
#C0E3A9
accent
#EF3982
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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