#7C4EE3#7C4EE3

#7C4EE3 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.7% C 0.214 H 292.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7C4EE3
RGBrgb(124, 78, 227)
HSLhsl(259, 73%, 60%)
HSVhsv(259, 66%, 89%)
CMYKcmyk(45.4%, 65.6%, 0%, 11%)
CIE-LABlab(46.01, 52.62, -69.15)
CIE-LCHlch(46.01, 86.90, 307.27°)
OKLaboklab(55.74% 0.0809 -0.1979)
OKLCHoklch(55.74% 0.214 292.2)
XYZxyz(24.8979, 15.2791, 74.2955)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4EE3 #B5E34E
analogous
#4E6BE3 #7C4EE3 #C64EE3
triadic
#7C4EE3 #E37C4E #4EE37C
tetradic
#7C4EE3 #E34E6B #B5E34E #4EE3C6
square
#7C4EE3 #E34E6B #B5E34E #4EE3C6
split-complementary
#7C4EE3 #E3C64E #6BE34E
monochromatic
#42199E #5821D3 #7C4EE3 #A383EB #CAB8F4

Accessibility & contrast

On white

5.18
#7C4EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7C4EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4EE3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4EE3#FFFFFF#000000##FFFFFF
##7C4EE31.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#006AE0
Tritanopia (blue-blind)
#5D7292
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c4ee3;
/* rgb */ color: rgb(124, 78, 227);
/* oklch */ color: oklch(55.7% 0.214 292.2);
Tailwind
colors: {
  custom: {
    50: '#aa82ed',
    500: '#7c4ee3',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ee3;
$custom-light: #aa82ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ee3",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 258.523,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55744,
    "c": 0.21378,
    "h": 292.2
  },
  "luminance": 0.1528
}

Semantic roles & 50–950 ramp

primary
#7C4EE3
secondary
#D1E3AA
accent
#EF38B7
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C4EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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