#A74EE5#A74EE5

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

Color values

HEX#A74EE5
RGBrgb(167, 78, 229)
HSLhsl(275, 74%, 60%)
HSVhsv(275, 66%, 90%)
CMYKcmyk(27.1%, 65.9%, 0%, 10.2%)
CIE-LABlab(51.06, 61.65, -61.88)
CIE-LCHlch(51.06, 87.35, 314.90°)
OKLaboklab(60.51% 0.1376 -0.1751)
OKLCHoklch(60.51% 0.223 308.2)
XYZxyz(32.8007, 19.3219, 76.1151)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EE5 #8CE54E
analogous
#5B4EE5 #A74EE5 #E54ED8
triadic
#A74EE5 #E5A74E #4EE5A7
tetradic
#A74EE5 #E55B4E #8CE54E #4ED8E5
square
#A74EE5 #E55B4E #8CE54E #4ED8E5
split-complementary
#A74EE5 #D8E54E #4EE55B
monochromatic
#6918A1 #8B1FD6 #A74EE5 #C283ED #DCB9F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A74EE5#FFFFFF#000000##000000
##A74EE51.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)
#0076EA
Deuteranopia (green-blind)
#2F7BE2
Tritanopia (blue-blind)
#9D6E93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a74ee5;
/* rgb */ color: rgb(167, 78, 229);
/* oklch */ color: oklch(60.5% 0.223 308.2);
Tailwind
colors: {
  custom: {
    50: '#c685ee',
    500: '#a74ee5',
    950: '#000000',
  },
}
SCSS
$custom: #a74ee5;
$custom-light: #c685ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ee5",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 275.364,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60509,
    "c": 0.2227,
    "h": 308.2
  },
  "luminance": 0.19321
}

Semantic roles & 50–950 ramp

primary
#A74EE5
secondary
#C2E4AA
accent
#D70F61
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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