#7A4CD1#7A4CD1

#7A4CD1 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.195 H 294.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7A4CD1
RGBrgb(122, 76, 209)
HSLhsl(261, 59%, 56%)
HSVhsv(261, 64%, 82%)
CMYKcmyk(41.6%, 63.6%, 0%, 18%)
CIE-LABlab(44.10, 48.47, -61.99)
CIE-LCHlch(44.10, 78.69, 308.02°)
OKLaboklab(53.9% 0.0822 -0.1769)
OKLCHoklch(53.9% 0.195 294.9)
XYZxyz(22.1160, 13.9094, 61.8288)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CD1 #A3D14C
analogous
#4C60D1 #7A4CD1 #BC4CD1
triadic
#7A4CD1 #D17A4C #4CD17A
tetradic
#7A4CD1 #D14C60 #A3D14C #4CD1BC
square
#7A4CD1 #D14C60 #A3D14C #4CD1BC
split-complementary
#7A4CD1 #D1BC4C #60D14C
monochromatic
#422181 #5C2EB2 #7A4CD1 #9E7DDE #C2ADEA

Accessibility & contrast

On white

5.55
#7A4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7A4CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CD1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CD1#FFFFFF#000000##FFFFFF
##7A4CD11.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#636B88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a4cd1;
/* rgb */ color: rgb(122, 76, 209);
/* oklch */ color: oklch(53.9% 0.195 294.9);
Tailwind
colors: {
  custom: {
    50: '#a780e0',
    500: '#7a4cd1',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cd1;
$custom-light: #a780e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cd1",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 260.752,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53903,
    "c": 0.19507,
    "h": 294.9
  },
  "luminance": 0.1391
}

Semantic roles & 50–950 ramp

primary
#7A4CD1
secondary
#C5D8A1
accent
#E246AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A4CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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