#7C4CE2#7C4CE2

#7C4CE2 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.4% C 0.215 H 292.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7C4CE2
RGBrgb(124, 76, 226)
HSLhsl(259, 72%, 59%)
HSVhsv(259, 66%, 89%)
CMYKcmyk(45.1%, 66.4%, 0%, 11.4%)
CIE-LABlab(45.56, 53.39, -69.33)
CIE-LCHlch(45.56, 87.51, 307.60°)
OKLaboklab(55.39% 0.083 -0.1984)
OKLCHoklch(55.39% 0.215 292.7)
XYZxyz(24.6203, 14.9442, 73.5241)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CE2 #B2E24C
analogous
#4C67E2 #7C4CE2 #C74CE2
triadic
#7C4CE2 #E27C4C #4CE27C
tetradic
#7C4CE2 #E24C67 #B2E24C #4CE2C7
square
#7C4CE2 #E24C67 #B2E24C #4CE2C7
split-complementary
#7C4CE2 #E2C74C #67E24C
monochromatic
#42199B #5922CF #7C4CE2 #A381EB #C9B5F3

Accessibility & contrast

On white

5.26
#7C4CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7C4CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4CE2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4CE2#FFFFFF#000000##FFFFFF
##7C4CE21.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#5E7191
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c4ce2;
/* rgb */ color: rgb(124, 76, 226);
/* oklch */ color: oklch(55.4% 0.215 292.7);
Tailwind
colors: {
  custom: {
    50: '#aa81ec',
    500: '#7c4ce2',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ce2;
$custom-light: #aa81ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ce2",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 259.2,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55392,
    "c": 0.21506,
    "h": 292.7
  },
  "luminance": 0.14945
}

Semantic roles & 50–950 ramp

primary
#7C4CE2
secondary
#CFE2A8
accent
#EF39B5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C4CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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