#A74CE5#A74CE5

#A74CE5 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.3% C 0.225 H 308.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A74CE5
RGBrgb(167, 76, 229)
HSLhsl(276, 75%, 60%)
HSVhsv(276, 67%, 90%)
CMYKcmyk(27.1%, 66.8%, 0%, 10.2%)
CIE-LABlab(50.74, 62.56, -62.40)
CIE-LCHlch(50.74, 88.36, 315.07°)
OKLaboklab(60.28% 0.1398 -0.1766)
OKLCHoklch(60.28% 0.225 308.4)
XYZxyz(32.6608, 19.0420, 76.0685)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74CE5 #8AE54C
analogous
#5A4CE5 #A74CE5 #E54CD7
triadic
#A74CE5 #E5A74C #4CE5A7
tetradic
#A74CE5 #E55A4C #8AE54C #4CD7E5
square
#A74CE5 #E55A4C #8AE54C #4CD7E5
split-complementary
#A74CE5 #D7E54C #4CE55A
monochromatic
#68179F #8B1FD5 #A74CE5 #C181ED #DCB7F5

Accessibility & contrast

On white

4.37
#A74CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#A74CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74CE5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74CE5#FFFFFF#000000##000000
##A74CE51.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#2C7AE2
Tritanopia (blue-blind)
#9E6D93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a74ce5;
/* rgb */ color: rgb(167, 76, 229);
/* oklch */ color: oklch(60.3% 0.225 308.4);
Tailwind
colors: {
  custom: {
    50: '#c684ee',
    500: '#a74ce5',
    950: '#000000',
  },
}
SCSS
$custom: #a74ce5;
$custom-light: #c684ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ce5",
  "rgb": {
    "r": 167,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 275.686,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60276,
    "c": 0.22524,
    "h": 308.4
  },
  "luminance": 0.19042
}

Semantic roles & 50–950 ramp

primary
#A74CE5
secondary
#C1E4A9
accent
#F13782
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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