#A74EE8#A74EE8

#A74EE8 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.7% C 0.226 H 307.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A74EE8
RGBrgb(167, 78, 232)
HSLhsl(275, 77%, 61%)
HSVhsv(275, 66%, 91%)
CMYKcmyk(28%, 66.4%, 0%, 9%)
CIE-LABlab(51.26, 62.31, -63.25)
CIE-LCHlch(51.26, 88.79, 314.57°)
OKLaboklab(60.71% 0.1373 -0.1791)
OKLCHoklch(60.71% 0.226 307.5)
XYZxyz(33.2232, 19.4909, 78.3402)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EE8 #8FE84E
analogous
#5A4EE8 #A74EE8 #E84EDC
triadic
#A74EE8 #E8A74E #4EE8A7
tetradic
#A74EE8 #E85A4E #8FE84E #4EDCE8
square
#A74EE8 #E85A4E #8FE84E #4EDCE8
split-complementary
#A74EE8 #DCE84E #4EE85A
monochromatic
#6916A6 #8B1DDC #A74EE8 #C284EF #DDBAF6

Accessibility & contrast

On white

4.29
#A74EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#A74EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74EE8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74EE8#FFFFFF#000000##000000
##A74EE81.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#2A7BE5
Tritanopia (blue-blind)
#9D6F95
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a74ee8;
/* rgb */ color: rgb(167, 78, 232);
/* oklch */ color: oklch(60.7% 0.226 307.5);
Tailwind
colors: {
  custom: {
    50: '#c685f0',
    500: '#a74ee8',
    950: '#000000',
  },
}
SCSS
$custom: #a74ee8;
$custom-light: #c685f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ee8",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 232
  },
  "hsl": {
    "h": 274.675,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60711,
    "c": 0.22574,
    "h": 307.5
  },
  "luminance": 0.1949
}

Semantic roles & 50–950 ramp

primary
#A74EE8
secondary
#C4E6AC
accent
#D90C63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A74EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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