#7C4EE0#7C4EE0

#7C4EE0 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.5% C 0.210 H 292.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7C4EE0
RGBrgb(124, 78, 224)
HSLhsl(259, 70%, 59%)
HSVhsv(259, 65%, 88%)
CMYKcmyk(44.6%, 65.2%, 0%, 12.2%)
CIE-LABlab(45.79, 51.81, -67.81)
CIE-LCHlch(45.79, 85.34, 307.38°)
OKLaboklab(55.51% 0.0812 -0.194)
OKLCHoklch(55.51% 0.21 292.7)
XYZxyz(24.4874, 15.1149, 72.1338)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4EE0 #B2E04E
analogous
#4E69E0 #7C4EE0 #C54EE0
triadic
#7C4EE0 #E07C4E #4EE07C
tetradic
#7C4EE0 #E04E69 #B2E04E #4EE0C5
square
#7C4EE0 #E04E69 #B2E04E #4EE0C5
split-complementary
#7C4EE0 #E0C54E #69E04E
monochromatic
#421B99 #5924CD #7C4EE0 #A382E9 #C9B6F2

Accessibility & contrast

On white

5.22
#7C4EE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7C4EE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4EE0
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4EE0#FFFFFF#000000##FFFFFF
##7C4EE01.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE5
Deuteranopia (green-blind)
#006ADD
Tritanopia (blue-blind)
#5F7190
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c4ee0;
/* rgb */ color: rgb(124, 78, 224);
/* oklch */ color: oklch(55.5% 0.210 292.7);
Tailwind
colors: {
  custom: {
    50: '#a982eb',
    500: '#7c4ee0',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ee0;
$custom-light: #a982eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ee0",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 224
  },
  "hsl": {
    "h": 258.904,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55513,
    "c": 0.21028,
    "h": 292.7
  },
  "luminance": 0.15116
}

Semantic roles & 50–950 ramp

primary
#7C4EE0
secondary
#CFE1A8
accent
#ED3BB5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C4EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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