#A74DEC#A74DEC

#A74DEC is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.9% C 0.231 H 306.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A74DEC
RGBrgb(167, 77, 236)
HSLhsl(274, 81%, 61%)
HSVhsv(274, 67%, 93%)
CMYKcmyk(29.2%, 67.4%, 0%, 7.5%)
CIE-LABlab(51.36, 63.65, -65.34)
CIE-LCHlch(51.36, 91.21, 314.25°)
OKLaboklab(60.87% 0.138 -0.1853)
OKLCHoklch(60.87% 0.231 306.7)
XYZxyz(33.7273, 19.5797, 81.3431)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74DEC #92EC4D
analogous
#584DEC #A74DEC #EC4DE2
triadic
#A74DEC #ECA74D #4DECA7
tetradic
#A74DEC #EC584D #92EC4D #4DE2EC
square
#A74DEC #EC584D #92EC4D #4DE2EC
split-complementary
#A74DEC #E2EC4D #4DEC58
monochromatic
#6912AC #8B18E4 #A74DEC #C284F2 #DEBCF8

Accessibility & contrast

On white

4.27
#A74DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#A74DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74DEC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74DEC#FFFFFF#000000##000000
##A74DEC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#207BE9
Tritanopia (blue-blind)
#9B7097
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a74dec;
/* rgb */ color: rgb(167, 77, 236);
/* oklch */ color: oklch(60.9% 0.231 306.7);
Tailwind
colors: {
  custom: {
    50: '#c685f3',
    500: '#a74dec',
    950: '#000000',
  },
}
SCSS
$custom: #a74dec;
$custom-light: #c685f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a74dec",
  "rgb": {
    "r": 167,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 273.962,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60868,
    "c": 0.231,
    "h": 306.7
  },
  "luminance": 0.19579
}

Semantic roles & 50–950 ramp

primary
#A74DEC
secondary
#C6E8AD
accent
#DD0865
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #A74DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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