#7A4CC7#7A4CC7

#7A4CC7 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.183 H 296.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7A4CC7
RGBrgb(122, 76, 199)
HSLhsl(262, 52%, 54%)
HSVhsv(262, 62%, 78%)
CMYKcmyk(38.7%, 61.8%, 0%, 22%)
CIE-LABlab(43.40, 45.82, -57.35)
CIE-LCHlch(43.40, 73.41, 308.62°)
OKLaboklab(53.18% 0.083 -0.1633)
OKLCHoklch(53.18% 0.183 296.9)
XYZxyz(20.9166, 13.4296, 55.5119)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CC7 #99C74C
analogous
#4C5CC7 #7A4CC7 #B84CC7
triadic
#7A4CC7 #C77A4C #4CC77A
tetradic
#7A4CC7 #C74C5C #99C74C #4CC7B8
square
#7A4CC7 #C74C5C #99C74C #4CC7B8
split-complementary
#7A4CC7 #C7B84C #5CC74C
monochromatic
#422474 #5D33A3 #7A4CC7 #9D7BD6 #BFA9E4

Accessibility & contrast

On white

5.70
#7A4CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7A4CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CC7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CC7#FFFFFF#000000##FFFFFF
##7A4CC71.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#0B65C4
Tritanopia (blue-blind)
#676782
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a4cc7;
/* rgb */ color: rgb(122, 76, 199);
/* oklch */ color: oklch(53.2% 0.183 296.9);
Tailwind
colors: {
  custom: {
    50: '#a680d9',
    500: '#7a4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cc7;
$custom-light: #a680d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cc7",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 262.439,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53175,
    "c": 0.18313,
    "h": 296.9
  },
  "luminance": 0.1343
}

Semantic roles & 50–950 ramp

primary
#7A4CC7
secondary
#BED29D
accent
#DC4CA6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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