#7C4FE9#7C4FE9

#7C4FE9 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.220 H 291.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7C4FE9
RGBrgb(124, 79, 233)
HSLhsl(258, 78%, 61%)
HSVhsv(258, 66%, 91%)
CMYKcmyk(46.8%, 66.1%, 0%, 8.6%)
CIE-LABlab(46.66, 53.72, -71.50)
CIE-LCHlch(46.66, 89.43, 306.92°)
OKLaboklab(56.35% 0.0791 -0.2048)
OKLCHoklch(56.35% 0.22 291.1)
XYZxyz(25.8120, 15.7593, 78.7568)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4FE9 #BCE94F
analogous
#4F6FE9 #7C4FE9 #C94FE9
triadic
#7C4FE9 #E97C4F #4FE97C
tetradic
#7C4FE9 #E94F6F #BCE94F #4FE9C9
square
#7C4FE9 #E94F6F #BCE94F #4FE9C9
split-complementary
#7C4FE9 #E9C94F #6FE94F
monochromatic
#4015A9 #551CDF #7C4FE9 #A485F0 #CDBCF7

Accessibility & contrast

On white

5.06
#7C4FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7C4FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4FE9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4FE9#FFFFFF#000000##FFFFFF
##7C4FE91.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c4fe9;
/* rgb */ color: rgb(124, 79, 233);
/* oklch */ color: oklch(56.3% 0.220 291.1);
Tailwind
colors: {
  custom: {
    50: '#aa83f1',
    500: '#7c4fe9',
    950: '#000000',
  },
}
SCSS
$custom: #7c4fe9;
$custom-light: #aa83f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4fe9",
  "rgb": {
    "r": 124,
    "g": 79,
    "b": 233
  },
  "hsl": {
    "h": 257.532,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56347,
    "c": 0.21954,
    "h": 291.1
  },
  "luminance": 0.1576
}

Semantic roles & 50–950 ramp

primary
#7C4FE9
secondary
#D6E7AD
accent
#DA0B9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C4FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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