#7C4DE2#7C4DE2

#7C4DE2 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.5% C 0.214 H 292.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7C4DE2
RGBrgb(124, 77, 226)
HSLhsl(259, 72%, 59%)
HSVhsv(259, 66%, 89%)
CMYKcmyk(45.1%, 65.9%, 0%, 11.4%)
CIE-LABlab(45.75, 52.87, -69.02)
CIE-LCHlch(45.75, 86.95, 307.45°)
OKLaboklab(55.53% 0.082 -0.1975)
OKLCHoklch(55.53% 0.214 292.5)
XYZxyz(24.6897, 15.0830, 73.5472)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4DE2 #B3E24D
analogous
#4D69E2 #7C4DE2 #C74DE2
triadic
#7C4DE2 #E27C4D #4DE27C
tetradic
#7C4DE2 #E24D69 #B3E24D #4DE2C7
square
#7C4DE2 #E24D69 #B3E24D #4DE2C7
split-complementary
#7C4DE2 #E2C74D #69E24D
monochromatic
#42199B #5922D0 #7C4DE2 #A382EB #C9B6F3

Accessibility & contrast

On white

5.23
#7C4DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7C4DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4DE2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4DE2#FFFFFF#000000##FFFFFF
##7C4DE21.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.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: #7c4de2;
/* rgb */ color: rgb(124, 77, 226);
/* oklch */ color: oklch(55.5% 0.214 292.5);
Tailwind
colors: {
  custom: {
    50: '#aa82ec',
    500: '#7c4de2',
    950: '#000000',
  },
}
SCSS
$custom: #7c4de2;
$custom-light: #aa82ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4de2",
  "rgb": {
    "r": 124,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 258.926,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55529,
    "c": 0.21383,
    "h": 292.5
  },
  "luminance": 0.15084
}

Semantic roles & 50–950 ramp

primary
#7C4DE2
secondary
#D0E2A8
accent
#EF39B5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C4DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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