#7C4EE4#7C4EE4

#7C4EE4 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.8% C 0.215 H 292.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7C4EE4
RGBrgb(124, 78, 228)
HSLhsl(258, 74%, 60%)
HSVhsv(258, 66%, 89%)
CMYKcmyk(45.6%, 65.8%, 0%, 10.6%)
CIE-LABlab(46.09, 52.89, -69.60)
CIE-LCHlch(46.09, 87.41, 307.23°)
OKLaboklab(55.82% 0.0807 -0.1992)
OKLCHoklch(55.82% 0.215 292.1)
XYZxyz(25.0363, 15.3345, 75.0245)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4EE4 #B6E44E
analogous
#4E6BE4 #7C4EE4 #C74EE4
triadic
#7C4EE4 #E47C4E #4EE47C
tetradic
#7C4EE4 #E44E6B #B6E44E #4EE4C7
square
#7C4EE4 #E44E6B #B6E44E #4EE4C7
split-complementary
#7C4EE4 #E4C74E #6BE44E
monochromatic
#42189F #5820D4 #7C4EE4 #A383EC #CBB8F4

Accessibility & contrast

On white

5.16
#7C4EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7C4EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4EE4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4EE4#FFFFFF#000000##FFFFFF
##7C4EE41.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#5D7292
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c4ee4;
/* rgb */ color: rgb(124, 78, 228);
/* oklch */ color: oklch(55.8% 0.215 292.1);
Tailwind
colors: {
  custom: {
    50: '#aa82ed',
    500: '#7c4ee4',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ee4;
$custom-light: #aa82ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ee4",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 258.4,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.55821,
    "c": 0.21493,
    "h": 292.1
  },
  "luminance": 0.15335
}

Semantic roles & 50–950 ramp

primary
#7C4EE4
secondary
#D2E4AA
accent
#F038B8
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C4EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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