#A74FE1#A74FE1

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

Color values

HEX#A74FE1
RGBrgb(167, 79, 225)
HSLhsl(276, 71%, 60%)
HSVhsv(276, 65%, 88%)
CMYKcmyk(25.8%, 64.9%, 0%, 11.8%)
CIE-LABlab(50.97, 60.32, -59.76)
CIE-LCHlch(50.97, 84.91, 315.27°)
OKLaboklab(60.36% 0.1368 -0.1689)
OKLCHoklch(60.36% 0.217 309)
XYZxyz(32.3202, 19.2443, 73.2315)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FE1 #89E14F
analogous
#5E4FE1 #A74FE1 #E14FD2
triadic
#A74FE1 #E1A74F #4FE1A7
tetradic
#A74FE1 #E15E4F #89E14F #4FD2E1
square
#A74FE1 #E15E4F #89E14F #4FD2E1
split-complementary
#A74FE1 #D2E14F #4FE15E
monochromatic
#681A9B #8B23CF #A74FE1 #C183EA #DBB8F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A74FE1#FFFFFF#000000##000000
##A74FE11.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)
#0076E5
Deuteranopia (green-blind)
#377BDE
Tritanopia (blue-blind)
#9F6D91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a74fe1;
/* rgb */ color: rgb(167, 79, 225);
/* oklch */ color: oklch(60.4% 0.217 309.0);
Tailwind
colors: {
  custom: {
    50: '#c586eb',
    500: '#a74fe1',
    950: '#000000',
  },
}
SCSS
$custom: #a74fe1;
$custom-light: #c586eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fe1",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 276.164,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60363,
    "c": 0.21737,
    "h": 309
  },
  "luminance": 0.19244
}

Semantic roles & 50–950 ramp

primary
#A74FE1
secondary
#C0E2AA
accent
#EE3A81
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A74FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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