#7C4FE5#7C4FE5

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

Color values

HEX#7C4FE5
RGBrgb(124, 79, 229)
HSLhsl(258, 74%, 60%)
HSVhsv(258, 66%, 90%)
CMYKcmyk(45.9%, 65.5%, 0%, 10.2%)
CIE-LABlab(46.36, 52.63, -69.73)
CIE-LCHlch(46.36, 87.37, 307.05°)
OKLaboklab(56.04% 0.0796 -0.1996)
OKLCHoklch(56.04% 0.215 291.7)
XYZxyz(25.2471, 15.5333, 75.7815)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4FE5 #B8E54F
analogous
#4F6DE5 #7C4FE5 #C74FE5
triadic
#7C4FE5 #E57C4F #4FE57C
tetradic
#7C4FE5 #E54F6D #B8E54F #4FE5C7
square
#7C4FE5 #E54F6D #B8E54F #4FE5C7
split-complementary
#7C4FE5 #E5C74F #6DE54F
monochromatic
#4118A2 #5720D7 #7C4FE5 #A484ED #CBBAF5

Accessibility & contrast

On white

5.11
#7C4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7C4FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4FE5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4FE5#FFFFFF#000000##FFFFFF
##7C4FE51.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c4fe5;
/* rgb */ color: rgb(124, 79, 229);
/* oklch */ color: oklch(56.0% 0.215 291.7);
Tailwind
colors: {
  custom: {
    50: '#aa83ee',
    500: '#7c4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #7c4fe5;
$custom-light: #aa83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4fe5",
  "rgb": {
    "r": 124,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 258,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56037,
    "c": 0.21488,
    "h": 291.7
  },
  "luminance": 0.15534
}

Semantic roles & 50–950 ramp

primary
#7C4FE5
secondary
#D3E5AB
accent
#D60F9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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