#A74FE3#A74FE3

#A74FE3 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.219 H 308.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A74FE3
RGBrgb(167, 79, 227)
HSLhsl(276, 73%, 60%)
HSVhsv(276, 65%, 89%)
CMYKcmyk(26.4%, 65.2%, 0%, 11%)
CIE-LABlab(51.10, 60.76, -60.69)
CIE-LCHlch(51.10, 85.88, 315.03°)
OKLaboklab(60.5% 0.1367 -0.1716)
OKLCHoklch(60.5% 0.219 308.5)
XYZxyz(32.5947, 19.3540, 74.6768)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FE3 #8BE34F
analogous
#5D4FE3 #A74FE3 #E34FD5
triadic
#A74FE3 #E3A74F #4FE3A7
tetradic
#A74FE3 #E35D4F #8BE34F #4FD5E3
square
#A74FE3 #E35D4F #8BE34F #4FD5E3
split-complementary
#A74FE3 #D5E34F #4FE35D
monochromatic
#68199E #8B22D3 #A74FE3 #C184EB #DCB9F4

Accessibility & contrast

On white

4.31
#A74FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A74FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74FE3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FE3#FFFFFF#000000##000000
##A74FE31.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#347BE0
Tritanopia (blue-blind)
#9E6E92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a74fe3;
/* rgb */ color: rgb(167, 79, 227);
/* oklch */ color: oklch(60.5% 0.219 308.5);
Tailwind
colors: {
  custom: {
    50: '#c586ed',
    500: '#a74fe3',
    950: '#000000',
  },
}
SCSS
$custom: #a74fe3;
$custom-light: #c586ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fe3",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 275.676,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.60495,
    "c": 0.21939,
    "h": 308.5
  },
  "luminance": 0.19354
}

Semantic roles & 50–950 ramp

primary
#A74FE3
secondary
#C2E3AA
accent
#EF3983
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A74FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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