#7C4FE0#7C4FE0

#7C4FE0 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.7% C 0.209 H 292.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7C4FE0
RGBrgb(124, 79, 224)
HSLhsl(259, 70%, 59%)
HSVhsv(259, 65%, 88%)
CMYKcmyk(44.6%, 64.7%, 0%, 12.2%)
CIE-LABlab(45.99, 51.28, -67.50)
CIE-LCHlch(45.99, 84.77, 307.23°)
OKLaboklab(55.65% 0.0802 -0.193)
OKLCHoklch(55.65% 0.209 292.6)
XYZxyz(24.5590, 15.2581, 72.1577)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4FE0 #B3E04F
analogous
#4F6BE0 #7C4FE0 #C54FE0
triadic
#7C4FE0 #E07C4F #4FE07C
tetradic
#7C4FE0 #E04F6B #B3E04F #4FE0C5
square
#7C4FE0 #E04F6B #B3E04F #4FE0C5
split-complementary
#7C4FE0 #E0C54F #6BE04F
monochromatic
#421B9A #5924CE #7C4FE0 #A383E9 #C9B7F2

Accessibility & contrast

On white

5.18
#7C4FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7C4FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4FE0
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4FE0#FFFFFF#000000##FFFFFF
##7C4FE01.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#006ADD
Tritanopia (blue-blind)
#5F7291
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c4fe0;
/* rgb */ color: rgb(124, 79, 224);
/* oklch */ color: oklch(55.7% 0.209 292.6);
Tailwind
colors: {
  custom: {
    50: '#a983eb',
    500: '#7c4fe0',
    950: '#000000',
  },
}
SCSS
$custom: #7c4fe0;
$custom-light: #a983eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4fe0",
  "rgb": {
    "r": 124,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 258.621,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55653,
    "c": 0.20903,
    "h": 292.6
  },
  "luminance": 0.15259
}

Semantic roles & 50–950 ramp

primary
#7C4FE0
secondary
#D0E2A9
accent
#ED3BB6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C4FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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