#7A4EDA#7A4EDA

#7A4EDA is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.203 H 292.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7A4EDA
RGBrgb(122, 78, 218)
HSLhsl(259, 65%, 58%)
HSVhsv(259, 64%, 85%)
CMYKcmyk(44%, 64.2%, 0%, 14.5%)
CIE-LABlab(45.15, 49.81, -65.45)
CIE-LCHlch(45.15, 82.25, 307.27°)
OKLaboklab(54.86% 0.0792 -0.1871)
OKLCHoklch(54.86% 0.203 292.9)
XYZxyz(23.4019, 14.6476, 67.9103)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4EDA #AEDA4E
analogous
#4E68DA #7A4EDA #C04EDA
triadic
#7A4EDA #DA7A4E #4EDA7A
tetradic
#7A4EDA #DA4E68 #AEDA4E #4EDAC0
square
#7A4EDA #DA4E68 #AEDA4E #4EDAC0
split-complementary
#7A4EDA #DAC04E #68DA4E
monochromatic
#421E90 #5929C2 #7A4EDA #A081E5 #C6B3EF

Accessibility & contrast

On white

5.34
#7A4EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7A4EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4EDA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4EDA#FFFFFF#000000##FFFFFF
##7A4EDA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#5E6F8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a4eda;
/* rgb */ color: rgb(122, 78, 218);
/* oklch */ color: oklch(54.9% 0.203 292.9);
Tailwind
colors: {
  custom: {
    50: '#a782e6',
    500: '#7a4eda',
    950: '#000000',
  },
}
SCSS
$custom: #7a4eda;
$custom-light: #a782e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4eda",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 258.857,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54863,
    "c": 0.20315,
    "h": 292.9
  },
  "luminance": 0.14648
}

Semantic roles & 50–950 ramp

primary
#7A4EDA
secondary
#CCDEA6
accent
#E83FB3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A4EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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