#7C4FE4#7C4FE4

#7C4FE4 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.214 H 291.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7C4FE4
RGBrgb(124, 79, 228)
HSLhsl(258, 73%, 60%)
HSVhsv(258, 65%, 89%)
CMYKcmyk(45.6%, 65.4%, 0%, 10.6%)
CIE-LABlab(46.28, 52.36, -69.29)
CIE-LCHlch(46.28, 86.85, 307.08°)
OKLaboklab(55.96% 0.0797 -0.1983)
OKLCHoklch(55.96% 0.214 291.9)
XYZxyz(25.1079, 15.4776, 75.0483)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4FE4 #B7E44F
analogous
#4F6CE4 #7C4FE4 #C74FE4
triadic
#7C4FE4 #E47C4F #4FE47C
tetradic
#7C4FE4 #E44F6C #B7E44F #4FE4C7
square
#7C4FE4 #E44F6C #B7E44F #4FE4C7
split-complementary
#7C4FE4 #E4C74F #6CE44F
monochromatic
#4119A0 #5721D5 #7C4FE4 #A384EC #CBB9F4

Accessibility & contrast

On white

5.13
#7C4FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C4FE4
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4FE4#FFFFFF#000000##FFFFFF
##7C4FE41.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#5D7393
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c4fe4;
/* rgb */ color: rgb(124, 79, 228);
/* oklch */ color: oklch(56.0% 0.214 291.9);
Tailwind
colors: {
  custom: {
    50: '#aa83ed',
    500: '#7c4fe4',
    950: '#000000',
  },
}
SCSS
$custom: #7c4fe4;
$custom-light: #aa83ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4fe4",
  "rgb": {
    "r": 124,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 258.121,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5596,
    "c": 0.21371,
    "h": 291.9
  },
  "luminance": 0.15478
}

Semantic roles & 50–950 ramp

primary
#7C4FE4
secondary
#D3E4AB
accent
#D6109A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C4FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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