#7A4DD7#7A4DD7

#7A4DD7 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.5% C 0.201 H 293.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7A4DD7
RGBrgb(122, 77, 215)
HSLhsl(260, 63%, 57%)
HSVhsv(260, 64%, 84%)
CMYKcmyk(43.3%, 64.2%, 0%, 15.7%)
CIE-LABlab(44.73, 49.54, -64.41)
CIE-LCHlch(44.73, 81.26, 307.56°)
OKLaboklab(54.49% 0.0806 -0.184)
OKLCHoklch(54.49% 0.201 293.6)
XYZxyz(22.9423, 14.3510, 65.8380)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4DD7 #AAD74D
analogous
#4D65D7 #7A4DD7 #BF4DD7
triadic
#7A4DD7 #D77A4D #4DD77A
tetradic
#7A4DD7 #D74D65 #AAD74D #4DD7BF
square
#7A4DD7 #D74D65 #AAD74D #4DD7BF
split-complementary
#7A4DD7 #D7BF4D #65D74D
monochromatic
#421F8A #5A2ABC #7A4DD7 #9F7FE2 #C5B1ED

Accessibility & contrast

On white

5.43
#7A4DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7A4DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4DD7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4DD7#FFFFFF#000000##FFFFFF
##7A4DD71.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a4dd7;
/* rgb */ color: rgb(122, 77, 215);
/* oklch */ color: oklch(54.5% 0.201 293.6);
Tailwind
colors: {
  custom: {
    50: '#a781e4',
    500: '#7a4dd7',
    950: '#000000',
  },
}
SCSS
$custom: #7a4dd7;
$custom-light: #a781e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4dd7",
  "rgb": {
    "r": 122,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 259.565,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54494,
    "c": 0.20088,
    "h": 293.6
  },
  "luminance": 0.14352
}

Semantic roles & 50–950 ramp

primary
#7A4DD7
secondary
#CADCA4
accent
#E641B1
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A4DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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