#7C4EF5#7C4EF5

#7C4EF5 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.2% C 0.234 H 289.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7C4EF5
RGBrgb(124, 78, 245)
HSLhsl(257, 89%, 63%)
HSVhsv(257, 68%, 96%)
CMYKcmyk(49.4%, 68.2%, 0%, 3.9%)
CIE-LABlab(47.40, 57.48, -77.04)
CIE-LCHlch(47.40, 96.12, 306.73°)
OKLaboklab(57.17% 0.0782 -0.2211)
OKLCHoklch(57.17% 0.234 289.5)
XYZxyz(27.5132, 16.3253, 88.0699)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4EF5 #C7F54E
analogous
#4E73F5 #7C4EF5 #CF4EF5
triadic
#7C4EF5 #F57C4E #4EF57C
tetradic
#7C4EF5 #F54E73 #C7F54E #4EF5CF
square
#7C4EF5 #F54E73 #C7F54E #4EF5CF
split-complementary
#7C4EF5 #F5CF4E #73F54E
monochromatic
#3C0BBE #5114F2 #7C4EF5 #A788F8 #D2C2FC

Accessibility & contrast

On white

4.92
#7C4EF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7C4EF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4EF5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4EF5#FFFFFF#000000##FFFFFF
##7C4EF51.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FA
Deuteranopia (green-blind)
#006CF2
Tritanopia (blue-blind)
#52799C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c4ef5;
/* rgb */ color: rgb(124, 78, 245);
/* oklch */ color: oklch(57.2% 0.234 289.5);
Tailwind
colors: {
  custom: {
    50: '#ac83fa',
    500: '#7c4ef5',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ef5;
$custom-light: #ac83fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ef5",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 245
  },
  "hsl": {
    "h": 256.527,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.23449,
    "h": 289.5
  },
  "luminance": 0.16326
}

Semantic roles & 50–950 ramp

primary
#7C4EF5
secondary
#DDEDB2
accent
#E600A6
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C4EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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