#7C4EE5#7C4EE5

#7C4EE5 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.9% C 0.216 H 291.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7C4EE5
RGBrgb(124, 78, 229)
HSLhsl(258, 74%, 60%)
HSVhsv(258, 66%, 90%)
CMYKcmyk(45.9%, 65.9%, 0%, 10.2%)
CIE-LABlab(46.16, 53.16, -70.04)
CIE-LCHlch(46.16, 87.93, 307.20°)
OKLaboklab(55.9% 0.0806 -0.2005)
OKLCHoklch(55.9% 0.216 291.9)
XYZxyz(25.1755, 15.3902, 75.7577)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4EE5 #B7E54E
analogous
#4E6CE5 #7C4EE5 #C74EE5
triadic
#7C4EE5 #E57C4E #4EE57C
tetradic
#7C4EE5 #E54E6C #B7E54E #4EE5C7
square
#7C4EE5 #E54E6C #B7E54E #4EE5C7
split-complementary
#7C4EE5 #E5C74E #6CE54E
monochromatic
#4118A1 #571FD6 #7C4EE5 #A383ED #CBB9F5

Accessibility & contrast

On white

5.15
#7C4EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7C4EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4EE5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4EE5#FFFFFF#000000##FFFFFF
##7C4EE51.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#5C7393
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c4ee5;
/* rgb */ color: rgb(124, 78, 229);
/* oklch */ color: oklch(55.9% 0.216 291.9);
Tailwind
colors: {
  custom: {
    50: '#aa82ee',
    500: '#7c4ee5',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ee5;
$custom-light: #aa82ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ee5",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 258.278,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55898,
    "c": 0.2161,
    "h": 291.9
  },
  "luminance": 0.15391
}

Semantic roles & 50–950 ramp

primary
#7C4EE5
secondary
#D3E4AA
accent
#D70F9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C4EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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