#7A4CD9#7A4CD9

#7A4CD9 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.205 H 293.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7A4CD9
RGBrgb(122, 76, 217)
HSLhsl(260, 65%, 57%)
HSVhsv(260, 65%, 85%)
CMYKcmyk(43.8%, 65%, 0%, 14.9%)
CIE-LABlab(44.68, 50.61, -65.64)
CIE-LCHlch(44.68, 82.88, 307.63°)
OKLaboklab(54.5% 0.0814 -0.1876)
OKLCHoklch(54.5% 0.205 293.4)
XYZxyz(23.1315, 14.3156, 67.1766)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CD9 #ABD94C
analogous
#4C65D9 #7A4CD9 #C04CD9
triadic
#7A4CD9 #D97A4C #4CD97A
tetradic
#7A4CD9 #D94C65 #ABD94C #4CD9C0
square
#7A4CD9 #D94C65 #ABD94C #4CD9C0
split-complementary
#7A4CD9 #D9C04C #65D94C
monochromatic
#421E8D #5A29BF #7A4CD9 #A07EE4 #C5B1EE

Accessibility & contrast

On white

5.44
#7A4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7A4CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CD9
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CD9#FFFFFF#000000##FFFFFF
##7A4CD91.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#5F6E8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a4cd9;
/* rgb */ color: rgb(122, 76, 217);
/* oklch */ color: oklch(54.5% 0.205 293.4);
Tailwind
colors: {
  custom: {
    50: '#a781e6',
    500: '#7a4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cd9;
$custom-light: #a781e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cd9",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 259.574,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.20451,
    "h": 293.4
  },
  "luminance": 0.14316
}

Semantic roles & 50–950 ramp

primary
#7A4CD9
secondary
#CADDA4
accent
#E840B1
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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