#A74CDC#A74CDC

#A74CDC is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.7% C 0.216 H 310.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A74CDC
RGBrgb(167, 76, 220)
HSLhsl(278, 67%, 58%)
HSVhsv(278, 65%, 86%)
CMYKcmyk(24.1%, 65.5%, 0%, 13.7%)
CIE-LABlab(50.16, 60.61, -58.23)
CIE-LCHlch(50.16, 84.05, 316.15°)
OKLaboklab(59.68% 0.1405 -0.1644)
OKLCHoklch(59.68% 0.216 310.5)
XYZxyz(31.4366, 18.5524, 69.6212)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74CDC #81DC4C
analogous
#5F4CDC #A74CDC #DC4CC9
triadic
#A74CDC #DCA74C #4CDCA7
tetradic
#A74CDC #DC5F4C #81DC4C #4CC9DC
square
#A74CDC #DC5F4C #81DC4C #4CC9DC
split-complementary
#A74CDC #C9DC4C #4CDC5F
monochromatic
#661C91 #8A26C4 #A74CDC #C07FE6 #D9B2F0

Accessibility & contrast

On white

4.46
#A74CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A74CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74CDC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74CDC#FFFFFF#000000##000000
##A74CDC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#3979D9
Tritanopia (blue-blind)
#A0698E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a74cdc;
/* rgb */ color: rgb(167, 76, 220);
/* oklch */ color: oklch(59.7% 0.216 310.5);
Tailwind
colors: {
  custom: {
    50: '#c584e8',
    500: '#a74cdc',
    950: '#000000',
  },
}
SCSS
$custom: #a74cdc;
$custom-light: #c584e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a74cdc",
  "rgb": {
    "r": 167,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 277.917,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59678,
    "c": 0.21626,
    "h": 310.5
  },
  "luminance": 0.18552
}

Semantic roles & 50–950 ramp

primary
#A74CDC
secondary
#BADFA5
accent
#EA3E7D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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