#7C4DEA#7C4DEA

#7C4DEA is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.223 H 291.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7C4DEA
RGBrgb(124, 77, 234)
HSLhsl(258, 79%, 61%)
HSVhsv(258, 67%, 92%)
CMYKcmyk(47%, 67.1%, 0%, 8.2%)
CIE-LABlab(46.35, 55.02, -72.56)
CIE-LCHlch(46.35, 91.06, 307.17°)
OKLaboklab(56.15% 0.0809 -0.2079)
OKLCHoklch(56.15% 0.223 291.3)
XYZxyz(25.8132, 15.5324, 79.4639)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4DEA #BBEA4D
analogous
#4D6CEA #7C4DEA #CA4DEA
triadic
#7C4DEA #EA7C4D #4DEA7C
tetradic
#7C4DEA #EA4D6C #BBEA4D #4DEACA
square
#7C4DEA #EA4D6C #BBEA4D #4DEACA
split-complementary
#7C4DEA #EACA4D #6CEA4D
monochromatic
#4014A9 #551ADF #7C4DEA #A484F0 #CDBAF7

Accessibility & contrast

On white

5.11
#7C4DEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7C4DEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4DEA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4DEA#FFFFFF#000000##FFFFFF
##7C4DEA1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EF
Deuteranopia (green-blind)
#006AE7
Tritanopia (blue-blind)
#597495
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c4dea;
/* rgb */ color: rgb(124, 77, 234);
/* oklch */ color: oklch(56.2% 0.223 291.3);
Tailwind
colors: {
  custom: {
    50: '#aa82f2',
    500: '#7c4dea',
    950: '#000000',
  },
}
SCSS
$custom: #7c4dea;
$custom-light: #aa82f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4dea",
  "rgb": {
    "r": 124,
    "g": 77,
    "b": 234
  },
  "hsl": {
    "h": 257.962,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56154,
    "c": 0.22307,
    "h": 291.3
  },
  "luminance": 0.15533
}

Semantic roles & 50–950 ramp

primary
#7C4DEA
secondary
#D5E7AC
accent
#DB0A9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C4DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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