#7C4EE7#7C4EE7

#7C4EE7 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.218 H 291.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7C4EE7
RGBrgb(124, 78, 231)
HSLhsl(258, 76%, 61%)
HSVhsv(258, 66%, 91%)
CMYKcmyk(46.3%, 66.2%, 0%, 9.4%)
CIE-LABlab(46.31, 53.70, -70.93)
CIE-LCHlch(46.31, 88.96, 307.13°)
OKLaboklab(56.05% 0.0803 -0.2031)
OKLCHoklch(56.05% 0.218 291.6)
XYZxyz(25.4563, 15.5025, 77.2368)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4EE7 #B9E74E
analogous
#4E6CE7 #7C4EE7 #C84EE7
triadic
#7C4EE7 #E77C4E #4EE77C
tetradic
#7C4EE7 #E74E6C #B9E74E #4EE7C8
square
#7C4EE7 #E74E6C #B9E74E #4EE7C8
split-complementary
#7C4EE7 #E7C84E #6CE74E
monochromatic
#4116A4 #561EDA #7C4EE7 #A484EE #CCBAF6

Accessibility & contrast

On white

5.12
#7C4EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7C4EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4EE7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4EE7#FFFFFF#000000##FFFFFF
##7C4EE71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#006BE4
Tritanopia (blue-blind)
#5B7494
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c4ee7;
/* rgb */ color: rgb(124, 78, 231);
/* oklch */ color: oklch(56.1% 0.218 291.6);
Tailwind
colors: {
  custom: {
    50: '#aa82f0',
    500: '#7c4ee7',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ee7;
$custom-light: #aa82f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ee7",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 258.039,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56054,
    "c": 0.21842,
    "h": 291.6
  },
  "luminance": 0.15503
}

Semantic roles & 50–950 ramp

primary
#7C4EE7
secondary
#D4E5AB
accent
#D80D9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C4EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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