#A74CE4#A74CE4

#A74CE4 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.2% C 0.224 H 308.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A74CE4
RGBrgb(167, 76, 228)
HSLhsl(276, 74%, 60%)
HSVhsv(276, 67%, 89%)
CMYKcmyk(26.8%, 66.7%, 0%, 10.6%)
CIE-LABlab(50.67, 62.34, -61.94)
CIE-LCHlch(50.67, 87.88, 315.18°)
OKLaboklab(60.21% 0.1399 -0.1753)
OKLCHoklch(60.21% 0.224 308.6)
XYZxyz(32.5215, 18.9863, 75.3352)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74CE4 #89E44C
analogous
#5B4CE4 #A74CE4 #E44CD5
triadic
#A74CE4 #E4A74C #4CE4A7
tetradic
#A74CE4 #E45B4C #89E44C #4CD5E4
square
#A74CE4 #E45B4C #89E44C #4CD5E4
split-complementary
#A74CE4 #D5E44C #4CE45B
monochromatic
#68189E #8B20D3 #A74CE4 #C181EC #DBB6F4

Accessibility & contrast

On white

4.38
#A74CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#A74CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74CE4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74CE4#FFFFFF#000000##000000
##A74CE41.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#2E7AE1
Tritanopia (blue-blind)
#9E6D92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a74ce4;
/* rgb */ color: rgb(167, 76, 228);
/* oklch */ color: oklch(60.2% 0.224 308.6);
Tailwind
colors: {
  custom: {
    50: '#c684ed',
    500: '#a74ce4',
    950: '#000000',
  },
}
SCSS
$custom: #a74ce4;
$custom-light: #c684ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ce4",
  "rgb": {
    "r": 167,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 275.921,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60209,
    "c": 0.22423,
    "h": 308.6
  },
  "luminance": 0.18986
}

Semantic roles & 50–950 ramp

primary
#A74CE4
secondary
#C0E3A8
accent
#F03782
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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