#7C4EE9#7C4EE9

#7C4EE9 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.2% C 0.221 H 291.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7C4EE9
RGBrgb(124, 78, 233)
HSLhsl(258, 78%, 61%)
HSVhsv(258, 67%, 91%)
CMYKcmyk(46.8%, 66.5%, 0%, 8.6%)
CIE-LABlab(46.47, 54.24, -71.81)
CIE-LCHlch(46.47, 89.99, 307.06°)
OKLaboklab(56.21% 0.0801 -0.2057)
OKLCHoklch(56.21% 0.221 291.3)
XYZxyz(25.7404, 15.6161, 78.7330)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4EE9 #BBE94E
analogous
#4E6DE9 #7C4EE9 #C94EE9
triadic
#7C4EE9 #E97C4E #4EE97C
tetradic
#7C4EE9 #E94E6D #BBE94E #4EE9C9
square
#7C4EE9 #E94E6D #BBE94E #4EE9C9
split-complementary
#7C4EE9 #E9C94E #6DE94E
monochromatic
#4015A8 #551CDE #7C4EE9 #A484F0 #CDBBF7

Accessibility & contrast

On white

5.09
#7C4EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7C4EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4EE9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4EE9#FFFFFF#000000##FFFFFF
##7C4EE91.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#006BE6
Tritanopia (blue-blind)
#5A7495
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c4ee9;
/* rgb */ color: rgb(124, 78, 233);
/* oklch */ color: oklch(56.2% 0.221 291.3);
Tailwind
colors: {
  custom: {
    50: '#aa82f1',
    500: '#7c4ee9',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ee9;
$custom-light: #aa82f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ee9",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 257.806,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56211,
    "c": 0.22074,
    "h": 291.3
  },
  "luminance": 0.15617
}

Semantic roles & 50–950 ramp

primary
#7C4EE9
secondary
#D5E7AC
accent
#DA0B9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C4EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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