#7A4DC9#7A4DC9

#7A4DC9 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.184 H 296.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7A4DC9
RGBrgb(122, 77, 201)
HSLhsl(262, 53%, 55%)
HSVhsv(262, 62%, 79%)
CMYKcmyk(39.3%, 61.7%, 0%, 21.2%)
CIE-LABlab(43.74, 45.80, -57.96)
CIE-LCHlch(43.74, 73.87, 308.32°)
OKLaboklab(53.47% 0.0817 -0.165)
OKLCHoklch(53.47% 0.184 296.3)
XYZxyz(21.2198, 13.6620, 56.7661)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4DC9 #9CC94D
analogous
#4D5EC9 #7A4DC9 #B84DC9
triadic
#7A4DC9 #C97A4D #4DC97A
tetradic
#7A4DC9 #C94D5E #9CC94D #4DC9B8
square
#7A4DC9 #C94D5E #9CC94D #4DC9B8
split-complementary
#7A4DC9 #C9B84D #5EC94D
monochromatic
#422477 #5D32A6 #7A4DC9 #9D7CD7 #C0ABE5

Accessibility & contrast

On white

5.63
#7A4DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7A4DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4DC9
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4DC9#FFFFFF#000000##FFFFFF
##7A4DC91.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#0766C6
Tritanopia (blue-blind)
#666984
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a4dc9;
/* rgb */ color: rgb(122, 77, 201);
/* oklch */ color: oklch(53.5% 0.184 296.3);
Tailwind
colors: {
  custom: {
    50: '#a681da',
    500: '#7a4dc9',
    950: '#000000',
  },
}
SCSS
$custom: #7a4dc9;
$custom-light: #a681da;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4dc9",
  "rgb": {
    "r": 122,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 261.774,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53466,
    "c": 0.18416,
    "h": 296.3
  },
  "luminance": 0.13662
}

Semantic roles & 50–950 ramp

primary
#7A4DC9
secondary
#C0D39F
accent
#DD4BA8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A4DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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