#7C4AE1#7C4AE1

#7C4AE1 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.216 H 293.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7C4AE1
RGBrgb(124, 74, 225)
HSLhsl(260, 72%, 59%)
HSVhsv(260, 67%, 88%)
CMYKcmyk(44.9%, 67.1%, 0%, 11.8%)
CIE-LABlab(45.11, 54.16, -69.50)
CIE-LCHlch(45.11, 88.11, 307.93°)
OKLaboklab(55.05% 0.0851 -0.1989)
OKLCHoklch(55.05% 0.216 293.2)
XYZxyz(24.3478, 14.6181, 72.7583)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4AE1 #AFE14A
analogous
#4A63E1 #7C4AE1 #C84AE1
triadic
#7C4AE1 #E17C4A #4AE17C
tetradic
#7C4AE1 #E14A63 #AFE14A #4AE1C8
square
#7C4AE1 #E14A63 #AFE14A #4AE1C8
split-complementary
#7C4AE1 #E1C84A #63E14A
monochromatic
#431997 #5A22CC #7C4AE1 #A27EEA #C8B3F2

Accessibility & contrast

On white

5.35
#7C4AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7C4AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4AE1
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4AE1#FFFFFF#000000##FFFFFF
##7C4AE11.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#5F6F90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7c4ae1;
/* rgb */ color: rgb(124, 74, 225);
/* oklch */ color: oklch(55.0% 0.216 293.2);
Tailwind
colors: {
  custom: {
    50: '#aa80eb',
    500: '#7c4ae1',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ae1;
$custom-light: #aa80eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ae1",
  "rgb": {
    "r": 124,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 259.868,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55045,
    "c": 0.21632,
    "h": 293.2
  },
  "luminance": 0.14619
}

Semantic roles & 50–950 ramp

primary
#7C4AE1
secondary
#CDE1A6
accent
#EE39B2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C4AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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