#7A4CD4#7A4CD4

#7A4CD4 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.199 H 294.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7A4CD4
RGBrgb(122, 76, 212)
HSLhsl(260, 61%, 56%)
HSVhsv(260, 64%, 83%)
CMYKcmyk(42.5%, 64.2%, 0%, 16.9%)
CIE-LABlab(44.32, 49.27, -63.37)
CIE-LCHlch(44.32, 80.27, 307.87°)
OKLaboklab(54.13% 0.0819 -0.1809)
OKLCHoklch(54.13% 0.199 294.4)
XYZxyz(22.4910, 14.0594, 63.8033)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CD4 #A6D44C
analogous
#4C62D4 #7A4CD4 #BE4CD4
triadic
#7A4CD4 #D47A4C #4CD47A
tetradic
#7A4CD4 #D44C62 #A6D44C #4CD4BE
square
#7A4CD4 #D44C62 #A6D44C #4CD4BE
split-complementary
#7A4CD4 #D4BE4C #62D44C
monochromatic
#422086 #5B2CB7 #7A4CD4 #9F7DE0 #C3AFEC

Accessibility & contrast

On white

5.51
#7A4CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7A4CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CD4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CD4#FFFFFF#000000##FFFFFF
##7A4CD41.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#626C89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a4cd4;
/* rgb */ color: rgb(122, 76, 212);
/* oklch */ color: oklch(54.1% 0.199 294.4);
Tailwind
colors: {
  custom: {
    50: '#a781e2',
    500: '#7a4cd4',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cd4;
$custom-light: #a781e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cd4",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 260.294,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54127,
    "c": 0.19862,
    "h": 294.4
  },
  "luminance": 0.1406
}

Semantic roles & 50–950 ramp

primary
#7A4CD4
secondary
#C7DAA2
accent
#E443AE
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #7A4CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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