#7C4AE3#7C4AE3

#7C4AE3 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.219 H 292.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7C4AE3
RGBrgb(124, 74, 227)
HSLhsl(260, 73%, 59%)
HSVhsv(260, 67%, 89%)
CMYKcmyk(45.4%, 67.4%, 0%, 11%)
CIE-LABlab(45.26, 54.69, -70.38)
CIE-LCHlch(45.26, 89.13, 307.85°)
OKLaboklab(55.2% 0.0848 -0.2015)
OKLCHoklch(55.2% 0.219 292.8)
XYZxyz(24.6223, 14.7279, 74.2036)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4AE3 #B1E34A
analogous
#4A65E3 #7C4AE3 #C94AE3
triadic
#7C4AE3 #E37C4A #4AE37C
tetradic
#7C4AE3 #E34A65 #B1E34A #4AE3C9
square
#7C4AE3 #E34A65 #B1E34A #4AE3C9
split-complementary
#7C4AE3 #E3C94A #65E34A
monochromatic
#43189B #5920D0 #7C4AE3 #A27FEB #C9B4F3

Accessibility & contrast

On white

5.32
#7C4AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7C4AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4AE3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4AE3#FFFFFF#000000##FFFFFF
##7C4AE31.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#5D7091
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7c4ae3;
/* rgb */ color: rgb(124, 74, 227);
/* oklch */ color: oklch(55.2% 0.219 292.8);
Tailwind
colors: {
  custom: {
    50: '#aa80ed',
    500: '#7c4ae3',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ae3;
$custom-light: #aa80ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ae3",
  "rgb": {
    "r": 124,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 259.608,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55202,
    "c": 0.2186,
    "h": 292.8
  },
  "luminance": 0.14729
}

Semantic roles & 50–950 ramp

primary
#7C4AE3
secondary
#CFE2A6
accent
#F038B4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C4AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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