#7C4FE8#7C4FE8

#7C4FE8 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.218 H 291.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7C4FE8
RGBrgb(124, 79, 232)
HSLhsl(258, 77%, 61%)
HSVhsv(258, 66%, 91%)
CMYKcmyk(46.6%, 65.9%, 0%, 9%)
CIE-LABlab(46.58, 53.45, -71.06)
CIE-LCHlch(46.58, 88.92, 306.95°)
OKLaboklab(56.27% 0.0792 -0.2035)
OKLCHoklch(56.27% 0.218 291.3)
XYZxyz(25.6696, 15.7023, 78.0066)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4FE8 #BBE84F
analogous
#4F6EE8 #7C4FE8 #C84FE8
triadic
#7C4FE8 #E87C4F #4FE87C
tetradic
#7C4FE8 #E84F6E #BBE84F #4FE8C8
square
#7C4FE8 #E84F6E #BBE84F #4FE8C8
split-complementary
#7C4FE8 #E8C84F #6EE84F
monochromatic
#4016A7 #551DDD #7C4FE8 #A485EF #CDBBF6

Accessibility & contrast

On white

5.07
#7C4FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7C4FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4FE8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4FE8#FFFFFF#000000##FFFFFF
##7C4FE81.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c4fe8;
/* rgb */ color: rgb(124, 79, 232);
/* oklch */ color: oklch(56.3% 0.218 291.3);
Tailwind
colors: {
  custom: {
    50: '#aa83f0',
    500: '#7c4fe8',
    950: '#000000',
  },
}
SCSS
$custom: #7c4fe8;
$custom-light: #aa83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4fe8",
  "rgb": {
    "r": 124,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 257.647,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56269,
    "c": 0.21838,
    "h": 291.3
  },
  "luminance": 0.15703
}

Semantic roles & 50–950 ramp

primary
#7C4FE8
secondary
#D5E6AD
accent
#D90C9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C4FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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