#7A4CD2#7A4CD2

#7A4CD2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.196 H 294.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7A4CD2
RGBrgb(122, 76, 210)
HSLhsl(261, 60%, 56%)
HSVhsv(261, 64%, 82%)
CMYKcmyk(41.9%, 63.8%, 0%, 17.6%)
CIE-LABlab(44.17, 48.74, -62.45)
CIE-LCHlch(44.17, 79.22, 307.97°)
OKLaboklab(53.98% 0.0821 -0.1782)
OKLCHoklch(53.98% 0.196 294.7)
XYZxyz(22.2402, 13.9591, 62.4829)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CD2 #A4D24C
analogous
#4C61D2 #7A4CD2 #BD4CD2
triadic
#7A4CD2 #D27A4C #4CD27A
tetradic
#7A4CD2 #D24C61 #A4D24C #4CD2BD
square
#7A4CD2 #D24C61 #A4D24C #4CD2BD
split-complementary
#7A4CD2 #D2BD4C #61D24C
monochromatic
#422183 #5B2DB4 #7A4CD2 #9E7DDE #C3AEEB

Accessibility & contrast

On white

5.54
#7A4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7A4CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CD2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CD2#FFFFFF#000000##FFFFFF
##7A4CD21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#636B88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a4cd2;
/* rgb */ color: rgb(122, 76, 210);
/* oklch */ color: oklch(54.0% 0.196 294.7);
Tailwind
colors: {
  custom: {
    50: '#a780e1',
    500: '#7a4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cd2;
$custom-light: #a780e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cd2",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 260.597,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53977,
    "c": 0.19625,
    "h": 294.7
  },
  "luminance": 0.1396
}

Semantic roles & 50–950 ramp

primary
#7A4CD2
secondary
#C6D9A1
accent
#E345AD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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