#7C4FF0#7C4FF0

#7C4FF0 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.9% C 0.228 H 290.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7C4FF0
RGBrgb(124, 79, 240)
HSLhsl(257, 84%, 63%)
HSVhsv(257, 67%, 94%)
CMYKcmyk(48.3%, 67.1%, 0%, 5.9%)
CIE-LABlab(47.19, 55.62, -74.57)
CIE-LCHlch(47.19, 93.03, 306.72°)
OKLaboklab(56.9% 0.0781 -0.2138)
OKLCHoklch(56.9% 0.228 290.1)
XYZxyz(26.8318, 16.1672, 84.1280)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4FF0 #C3F04F
analogous
#4F73F0 #7C4FF0 #CC4FF0
triadic
#7C4FF0 #F07C4F #4FF07C
tetradic
#7C4FF0 #F04F73 #C3F04F #4FF0CC
square
#7C4FF0 #F04F73 #C3F04F #4FF0CC
split-complementary
#7C4FF0 #F0CC4F #73F04F
monochromatic
#3E0FB5 #5217EB #7C4FF0 #A687F5 #D0C0FA

Accessibility & contrast

On white

4.96
#7C4FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7C4FF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4FF0
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4FF0#FFFFFF#000000##FFFFFF
##7C4FF01.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F5
Deuteranopia (green-blind)
#006CED
Tritanopia (blue-blind)
#557799
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c4ff0;
/* rgb */ color: rgb(124, 79, 240);
/* oklch */ color: oklch(56.9% 0.228 290.1);
Tailwind
colors: {
  custom: {
    50: '#ab83f6',
    500: '#7c4ff0',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ff0;
$custom-light: #ab83f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ff0",
  "rgb": {
    "r": 124,
    "g": 79,
    "b": 240
  },
  "hsl": {
    "h": 256.77,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56899,
    "c": 0.22762,
    "h": 290.1
  },
  "luminance": 0.16168
}

Semantic roles & 50–950 ramp

primary
#7C4FF0
secondary
#DAEBB0
accent
#E105A3
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C4FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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