#7A4DC7#7A4DC7

#7A4DC7 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.182 H 296.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7A4DC7
RGBrgb(122, 77, 199)
HSLhsl(262, 52%, 54%)
HSVhsv(262, 61%, 78%)
CMYKcmyk(38.7%, 61.3%, 0%, 22%)
CIE-LABlab(43.61, 45.28, -57.02)
CIE-LCHlch(43.61, 72.81, 308.45°)
OKLaboklab(53.32% 0.0818 -0.1623)
OKLCHoklch(53.32% 0.182 296.8)
XYZxyz(20.9861, 13.5685, 55.5351)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4DC7 #9AC74D
analogous
#4D5DC7 #7A4DC7 #B74DC7
triadic
#7A4DC7 #C77A4D #4DC77A
tetradic
#7A4DC7 #C74D5D #9AC74D #4DC7B7
square
#7A4DC7 #C74D5D #9AC74D #4DC7B7
split-complementary
#7A4DC7 #C7B74D #5DC74D
monochromatic
#422575 #5D33A3 #7A4DC7 #9D7CD6 #C0AAE4

Accessibility & contrast

On white

5.65
#7A4DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7A4DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4DC7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4DC7#FFFFFF#000000##FFFFFF
##7A4DC71.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#1065C4
Tritanopia (blue-blind)
#676883
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a4dc7;
/* rgb */ color: rgb(122, 77, 199);
/* oklch */ color: oklch(53.3% 0.182 296.8);
Tailwind
colors: {
  custom: {
    50: '#a581d9',
    500: '#7a4dc7',
    950: '#000000',
  },
}
SCSS
$custom: #7a4dc7;
$custom-light: #a581d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4dc7",
  "rgb": {
    "r": 122,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 262.131,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53323,
    "c": 0.18174,
    "h": 296.8
  },
  "luminance": 0.13569
}

Semantic roles & 50–950 ramp

primary
#7A4DC7
secondary
#BFD29E
accent
#DC4CA7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A4DC7

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

Preview Lab → · Contrast checker → · Palette generator →

#7A4DC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva