#7C4EDC#7C4EDC

#7C4EDC is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.2% C 0.206 H 293.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7C4EDC
RGBrgb(124, 78, 220)
HSLhsl(259, 67%, 58%)
HSVhsv(259, 65%, 86%)
CMYKcmyk(43.6%, 64.5%, 0%, 13.7%)
CIE-LABlab(45.50, 50.74, -66.01)
CIE-LCHlch(45.50, 83.26, 307.55°)
OKLaboklab(55.21% 0.0817 -0.1887)
OKLCHoklch(55.21% 0.206 293.4)
XYZxyz(23.9513, 14.9005, 69.3104)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4EDC #AEDC4E
analogous
#4E67DC #7C4EDC #C34EDC
triadic
#7C4EDC #DC7C4E #4EDC7C
tetradic
#7C4EDC #DC4E67 #AEDC4E #4EDCC3
square
#7C4EDC #DC4E67 #AEDC4E #4EDCC3
split-complementary
#7C4EDC #DCC34E #67DC4E
monochromatic
#431D93 #5A27C6 #7C4EDC #A281E6 #C8B4F0

Accessibility & contrast

On white

5.28
#7C4EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7C4EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4EDC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4EDC#FFFFFF#000000##FFFFFF
##7C4EDC1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#61708E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c4edc;
/* rgb */ color: rgb(124, 78, 220);
/* oklch */ color: oklch(55.2% 0.206 293.4);
Tailwind
colors: {
  custom: {
    50: '#a982e8',
    500: '#7c4edc',
    950: '#000000',
  },
}
SCSS
$custom: #7c4edc;
$custom-light: #a982e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4edc",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 259.437,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55209,
    "c": 0.20559,
    "h": 293.4
  },
  "luminance": 0.14901
}

Semantic roles & 50–950 ramp

primary
#7C4EDC
secondary
#CDDFA7
accent
#EA3EB2
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C4EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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