#7C4EE2#7C4EE2

#7C4EE2 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.213 H 292.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7C4EE2
RGBrgb(124, 78, 226)
HSLhsl(259, 72%, 60%)
HSVhsv(259, 65%, 89%)
CMYKcmyk(45.1%, 65.5%, 0%, 11.4%)
CIE-LABlab(45.94, 52.35, -68.71)
CIE-LCHlch(45.94, 86.38, 307.30°)
OKLaboklab(55.67% 0.081 -0.1966)
OKLCHoklch(55.67% 0.213 292.4)
XYZxyz(24.7602, 15.2241, 73.5707)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4EE2 #B4E24E
analogous
#4E6AE2 #7C4EE2 #C64EE2
triadic
#7C4EE2 #E27C4E #4EE27C
tetradic
#7C4EE2 #E24E6A #B4E24E #4EE2C6
square
#7C4EE2 #E24E6A #B4E24E #4EE2C6
split-complementary
#7C4EE2 #E2C64E #6AE24E
monochromatic
#421A9C #5822D1 #7C4EE2 #A383EB #CAB7F3

Accessibility & contrast

On white

5.19
#7C4EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7C4EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4EE2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4EE2#FFFFFF#000000##FFFFFF
##7C4EE21.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#5E7291
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c4ee2;
/* rgb */ color: rgb(124, 78, 226);
/* oklch */ color: oklch(55.7% 0.213 292.4);
Tailwind
colors: {
  custom: {
    50: '#a982ec',
    500: '#7c4ee2',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ee2;
$custom-light: #a982ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ee2",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 258.649,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55667,
    "c": 0.21262,
    "h": 292.4
  },
  "luminance": 0.15225
}

Semantic roles & 50–950 ramp

primary
#7C4EE2
secondary
#D1E3A9
accent
#EF39B6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C4EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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