#7A4CD7#7A4CD7

#7A4CD7 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.202 H 293.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7A4CD7
RGBrgb(122, 76, 215)
HSLhsl(260, 63%, 57%)
HSVhsv(260, 65%, 84%)
CMYKcmyk(43.3%, 64.7%, 0%, 15.7%)
CIE-LABlab(44.54, 50.07, -64.73)
CIE-LCHlch(44.54, 81.84, 307.72°)
OKLaboklab(54.35% 0.0816 -0.1849)
OKLCHoklch(54.35% 0.202 293.8)
XYZxyz(22.8729, 14.2121, 65.8149)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CD7 #A9D74C
analogous
#4C64D7 #7A4CD7 #BF4CD7
triadic
#7A4CD7 #D77A4C #4CD77A
tetradic
#7A4CD7 #D74C64 #A9D74C #4CD7BF
square
#7A4CD7 #D74C64 #A9D74C #4CD7BF
split-complementary
#7A4CD7 #D7BF4C #64D74C
monochromatic
#421F8A #5A2ABC #7A4CD7 #9F7EE2 #C4B0ED

Accessibility & contrast

On white

5.47
#7A4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7A4CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CD7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CD7#FFFFFF#000000##FFFFFF
##7A4CD71.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#0067D4
Tritanopia (blue-blind)
#606D8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a4cd7;
/* rgb */ color: rgb(122, 76, 215);
/* oklch */ color: oklch(54.4% 0.202 293.8);
Tailwind
colors: {
  custom: {
    50: '#a781e4',
    500: '#7a4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cd7;
$custom-light: #a781e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cd7",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 259.856,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54352,
    "c": 0.20215,
    "h": 293.8
  },
  "luminance": 0.14213
}

Semantic roles & 50–950 ramp

primary
#7A4CD7
secondary
#C9DCA3
accent
#E641B0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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