#7A4EDC#7A4EDC

#7A4EDC is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.0% C 0.206 H 292.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7A4EDC
RGBrgb(122, 78, 220)
HSLhsl(259, 67%, 58%)
HSVhsv(259, 65%, 86%)
CMYKcmyk(44.5%, 64.5%, 0%, 13.7%)
CIE-LABlab(45.29, 50.35, -66.36)
CIE-LCHlch(45.29, 83.30, 307.19°)
OKLaboklab(55.02% 0.079 -0.1897)
OKLCHoklch(55.02% 0.206 292.6)
XYZxyz(23.6651, 14.7529, 69.2970)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4EDC #B0DC4E
analogous
#4E69DC #7A4EDC #C14EDC
triadic
#7A4EDC #DC7A4E #4EDC7A
tetradic
#7A4EDC #DC4E69 #B0DC4E #4EDCC1
square
#7A4EDC #DC4E69 #B0DC4E #4EDCC1
split-complementary
#7A4EDC #DCC14E #69DC4E
monochromatic
#411D93 #5827C6 #7A4EDC #A081E6 #C7B4F0

Accessibility & contrast

On white

5.32
#7A4EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7A4EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4EDC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4EDC#FFFFFF#000000##FFFFFF
##7A4EDC1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#5D708E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a4edc;
/* rgb */ color: rgb(122, 78, 220);
/* oklch */ color: oklch(55.0% 0.206 292.6);
Tailwind
colors: {
  custom: {
    50: '#a882e8',
    500: '#7a4edc',
    950: '#000000',
  },
}
SCSS
$custom: #7a4edc;
$custom-light: #a882e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4edc",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 258.592,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55015,
    "c": 0.20551,
    "h": 292.6
  },
  "luminance": 0.14754
}

Semantic roles & 50–950 ramp

primary
#7A4EDC
secondary
#CEDFA7
accent
#EA3EB5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A4EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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