#A74EE4#A74EE4

#A74EE4 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.4% C 0.222 H 308.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A74EE4
RGBrgb(167, 78, 228)
HSLhsl(276, 74%, 60%)
HSVhsv(276, 66%, 89%)
CMYKcmyk(26.8%, 65.8%, 0%, 10.6%)
CIE-LABlab(51.00, 61.43, -61.42)
CIE-LCHlch(51.00, 86.87, 315.01°)
OKLaboklab(60.44% 0.1377 -0.1737)
OKLCHoklch(60.44% 0.222 308.4)
XYZxyz(32.6615, 19.2662, 75.3819)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EE4 #8BE44E
analogous
#5C4EE4 #A74EE4 #E44ED6
triadic
#A74EE4 #E4A74E #4EE4A7
tetradic
#A74EE4 #E45C4E #8BE44E #4ED6E4
square
#A74EE4 #E45C4E #8BE44E #4ED6E4
split-complementary
#A74EE4 #D6E44E #4EE45C
monochromatic
#68189F #8B20D4 #A74EE4 #C183EC #DCB8F4

Accessibility & contrast

On white

4.33
#A74EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#A74EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74EE4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74EE4#FFFFFF#000000##000000
##A74EE41.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#317AE1
Tritanopia (blue-blind)
#9E6E93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a74ee4;
/* rgb */ color: rgb(167, 78, 228);
/* oklch */ color: oklch(60.4% 0.222 308.4);
Tailwind
colors: {
  custom: {
    50: '#c685ed',
    500: '#a74ee4',
    950: '#000000',
  },
}
SCSS
$custom: #a74ee4;
$custom-light: #c685ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ee4",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 275.6,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.60443,
    "c": 0.2217,
    "h": 308.4
  },
  "luminance": 0.19266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A74EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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