#7C4AE5#7C4AE5

#7C4AE5 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.4% C 0.221 H 292.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7C4AE5
RGBrgb(124, 74, 229)
HSLhsl(259, 75%, 59%)
HSVhsv(259, 68%, 90%)
CMYKcmyk(45.9%, 67.7%, 0%, 10.2%)
CIE-LABlab(45.41, 55.22, -71.27)
CIE-LCHlch(45.41, 90.16, 307.77°)
OKLaboklab(55.36% 0.0845 -0.2041)
OKLCHoklch(55.36% 0.221 292.5)
XYZxyz(24.8999, 14.8390, 75.6658)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4AE5 #B3E54A
analogous
#4A66E5 #7C4AE5 #CA4AE5
triadic
#7C4AE5 #E57C4A #4AE57C
tetradic
#7C4AE5 #E54A66 #B3E54A #4AE5CA
square
#7C4AE5 #E54A66 #B3E54A #4AE5CA
split-complementary
#7C4AE5 #E5CA4A #66E54A
monochromatic
#42179E #591ED3 #7C4AE5 #A380ED #C9B5F4

Accessibility & contrast

On white

5.29
#7C4AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7C4AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4AE5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4AE5#FFFFFF#000000##FFFFFF
##7C4AE51.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#5C7192
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7c4ae5;
/* rgb */ color: rgb(124, 74, 229);
/* oklch */ color: oklch(55.4% 0.221 292.5);
Tailwind
colors: {
  custom: {
    50: '#aa80ee',
    500: '#7c4ae5',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ae5;
$custom-light: #aa80ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ae5",
  "rgb": {
    "r": 124,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 259.355,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5536,
    "c": 0.22088,
    "h": 292.5
  },
  "luminance": 0.1484
}

Semantic roles & 50–950 ramp

primary
#7C4AE5
secondary
#D0E4A7
accent
#F136B5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7C4AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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