#A74FD8#A74FD8

#A74FD8 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.8% C 0.208 H 311.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A74FD8
RGBrgb(167, 79, 216)
HSLhsl(279, 64%, 58%)
HSVhsv(279, 63%, 85%)
CMYKcmyk(22.7%, 63.4%, 0%, 15.3%)
CIE-LABlab(50.41, 58.37, -55.55)
CIE-LCHlch(50.41, 80.58, 316.42°)
OKLaboklab(59.78% 0.1373 -0.1565)
OKLCHoklch(59.78% 0.208 311.3)
XYZxyz(31.1247, 18.7660, 66.9350)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FD8 #80D84F
analogous
#624FD8 #A74FD8 #D84FC5
triadic
#A74FD8 #D8A74F #4FD8A7
tetradic
#A74FD8 #D8624F #80D84F #4FC5D8
square
#A74FD8 #D8624F #80D84F #4FC5D8
split-complementary
#A74FD8 #C5D84F #4FD862
monochromatic
#661F8D #8A2ABF #A74FD8 #C081E3 #D9B3EE

Accessibility & contrast

On white

4.42
#A74FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A74FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74FD8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FD8#FFFFFF#000000##000000
##A74FD81.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0274DC
Deuteranopia (green-blind)
#417AD5
Tritanopia (blue-blind)
#A16A8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a74fd8;
/* rgb */ color: rgb(167, 79, 216);
/* oklch */ color: oklch(59.8% 0.208 311.3);
Tailwind
colors: {
  custom: {
    50: '#c586e5',
    500: '#a74fd8',
    950: '#000000',
  },
}
SCSS
$custom: #a74fd8;
$custom-light: #c586e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fd8",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 278.54,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59781,
    "c": 0.20826,
    "h": 311.3
  },
  "luminance": 0.18765
}

Semantic roles & 50–950 ramp

primary
#A74FD8
secondary
#BADDA6
accent
#E7417C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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