#7A4DD5#7A4DD5

#7A4DD5 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.3% C 0.199 H 294.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7A4DD5
RGBrgb(122, 77, 213)
HSLhsl(260, 62%, 57%)
HSVhsv(260, 64%, 84%)
CMYKcmyk(42.7%, 63.8%, 0%, 16.5%)
CIE-LABlab(44.59, 49.00, -63.50)
CIE-LCHlch(44.59, 80.21, 307.66°)
OKLaboklab(54.34% 0.0808 -0.1813)
OKLCHoklch(54.34% 0.199 294)
XYZxyz(22.6869, 14.2488, 64.4929)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4DD5 #A8D54D
analogous
#4D64D5 #7A4DD5 #BE4DD5
triadic
#7A4DD5 #D57A4D #4DD57A
tetradic
#7A4DD5 #D54D64 #A8D54D #4DD5BE
square
#7A4DD5 #D54D64 #A8D54D #4DD5BE
split-complementary
#7A4DD5 #D5BE4D #64D54D
monochromatic
#422088 #5A2CB9 #7A4DD5 #9F7FE1 #C4B0EC

Accessibility & contrast

On white

5.45
#7A4DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7A4DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4DD5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4DD5#FFFFFF#000000##FFFFFF
##7A4DD51.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#616D8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a4dd5;
/* rgb */ color: rgb(122, 77, 213);
/* oklch */ color: oklch(54.3% 0.199 294.0);
Tailwind
colors: {
  custom: {
    50: '#a781e3',
    500: '#7a4dd5',
    950: '#000000',
  },
}
SCSS
$custom: #7a4dd5;
$custom-light: #a781e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4dd5",
  "rgb": {
    "r": 122,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 259.853,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54344,
    "c": 0.19851,
    "h": 294
  },
  "luminance": 0.14249
}

Semantic roles & 50–950 ramp

primary
#7A4DD5
secondary
#C8DBA3
accent
#E543AF
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #7A4DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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