#7A4DED#7A4DED

#7A4DED is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.2% C 0.227 H 290.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7A4DED
RGBrgb(122, 77, 237)
HSLhsl(257, 82%, 62%)
HSVhsv(257, 68%, 93%)
CMYKcmyk(48.5%, 67.5%, 0%, 7.1%)
CIE-LABlab(46.39, 55.49, -74.20)
CIE-LCHlch(46.39, 92.66, 306.79°)
OKLaboklab(56.21% 0.0777 -0.2128)
OKLCHoklch(56.21% 0.227 290.1)
XYZxyz(25.9616, 15.5587, 81.7395)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4DED #C0ED4D
analogous
#4D70ED #7A4DED #CA4DED
triadic
#7A4DED #ED7A4D #4DED7A
tetradic
#7A4DED #ED4D70 #C0ED4D #4DEDCA
square
#7A4DED #ED4D70 #C0ED4D #4DEDCA
split-complementary
#7A4DED #EDCA4D #70ED4D
monochromatic
#3E12AE #5117E6 #7A4DED #A485F3 #CDBCF8

Accessibility & contrast

On white

5.11
#7A4DED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7A4DED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4DED
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4DED#FFFFFF#000000##FFFFFF
##7A4DED1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F2
Deuteranopia (green-blind)
#006AEA
Tritanopia (blue-blind)
#537597
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a4ded;
/* rgb */ color: rgb(122, 77, 237);
/* oklch */ color: oklch(56.2% 0.227 290.1);
Tailwind
colors: {
  custom: {
    50: '#aa82f4',
    500: '#7a4ded',
    950: '#000000',
  },
}
SCSS
$custom: #7a4ded;
$custom-light: #aa82f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4ded",
  "rgb": {
    "r": 122,
    "g": 77,
    "b": 237
  },
  "hsl": {
    "h": 256.875,
    "s": 81.633,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.22653,
    "h": 290.1
  },
  "luminance": 0.1556
}

Semantic roles & 50–950 ramp

primary
#7A4DED
secondary
#D8E9AD
accent
#DE07A2
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4DED

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

Preview Lab → · Contrast checker → · Palette generator →

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