#7A4DDA#7A4DDA

#7A4DDA is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.204 H 293.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7A4DDA
RGBrgb(122, 77, 218)
HSLhsl(259, 66%, 58%)
HSVhsv(259, 65%, 85%)
CMYKcmyk(44%, 64.7%, 0%, 14.5%)
CIE-LABlab(44.95, 50.35, -65.77)
CIE-LCHlch(44.95, 82.83, 307.43°)
OKLaboklab(54.72% 0.0802 -0.188)
OKLCHoklch(54.72% 0.204 293.1)
XYZxyz(23.3313, 14.5066, 67.8868)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4DDA #ADDA4D
analogous
#4D66DA #7A4DDA #C04DDA
triadic
#7A4DDA #DA7A4D #4DDA7A
tetradic
#7A4DDA #DA4D66 #ADDA4D #4DDAC0
square
#7A4DDA #DA4D66 #ADDA4D #4DDAC0
split-complementary
#7A4DDA #DAC04D #66DA4D
monochromatic
#421E8F #5928C2 #7A4DDA #A080E5 #C6B2EF

Accessibility & contrast

On white

5.38
#7A4DDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7A4DDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4DDA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4DDA#FFFFFF#000000##FFFFFF
##7A4DDA1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#5F6E8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a4dda;
/* rgb */ color: rgb(122, 77, 218);
/* oklch */ color: oklch(54.7% 0.204 293.1);
Tailwind
colors: {
  custom: {
    50: '#a781e6',
    500: '#7a4dda',
    950: '#000000',
  },
}
SCSS
$custom: #7a4dda;
$custom-light: #a781e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4dda",
  "rgb": {
    "r": 122,
    "g": 77,
    "b": 218
  },
  "hsl": {
    "h": 259.149,
    "s": 65.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54721,
    "c": 0.20441,
    "h": 293.1
  },
  "luminance": 0.14507
}

Semantic roles & 50–950 ramp

primary
#7A4DDA
secondary
#CCDEA5
accent
#E93FB3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A4DDA

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

Preview Lab → · Contrast checker → · Palette generator →

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