#A74FE5#A74FE5

#A74FE5 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.6% C 0.221 H 308.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A74FE5
RGBrgb(167, 79, 229)
HSLhsl(275, 74%, 60%)
HSVhsv(275, 66%, 90%)
CMYKcmyk(27.1%, 65.5%, 0%, 10.2%)
CIE-LABlab(51.23, 61.20, -61.61)
CIE-LCHlch(51.23, 86.84, 314.81°)
OKLaboklab(60.63% 0.1365 -0.1743)
OKLCHoklch(60.63% 0.221 308.1)
XYZxyz(32.8723, 19.4651, 76.1390)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FE5 #8DE54F
analogous
#5C4FE5 #A74FE5 #E54FD8
triadic
#A74FE5 #E5A74F #4FE5A7
tetradic
#A74FE5 #E55C4F #8DE54F #4FD8E5
square
#A74FE5 #E55C4F #8DE54F #4FD8E5
split-complementary
#A74FE5 #D8E54F #4FE55C
monochromatic
#6918A2 #8B20D7 #A74FE5 #C284ED #DCBAF5

Accessibility & contrast

On white

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

On black

4.89
#A74FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74FE5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FE5#FFFFFF#000000##000000
##A74FE51.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#317BE2
Tritanopia (blue-blind)
#9D6F94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a74fe5;
/* rgb */ color: rgb(167, 79, 229);
/* oklch */ color: oklch(60.6% 0.221 308.1);
Tailwind
colors: {
  custom: {
    50: '#c686ee',
    500: '#a74fe5',
    950: '#000000',
  },
}
SCSS
$custom: #a74fe5;
$custom-light: #c686ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fe5",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 275.2,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60628,
    "c": 0.22142,
    "h": 308.1
  },
  "luminance": 0.19465
}

Semantic roles & 50–950 ramp

primary
#A74FE5
secondary
#C3E5AB
accent
#D60F61
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A74FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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