#7C4DDC#7C4DDC

#7C4DDC is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.1% C 0.207 H 293.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7C4DDC
RGBrgb(124, 77, 220)
HSLhsl(260, 67%, 58%)
HSVhsv(260, 65%, 86%)
CMYKcmyk(43.6%, 65%, 0%, 13.7%)
CIE-LABlab(45.30, 51.27, -66.33)
CIE-LCHlch(45.30, 83.83, 307.70°)
OKLaboklab(55.07% 0.0827 -0.1896)
OKLCHoklch(55.07% 0.207 293.6)
XYZxyz(23.8808, 14.7595, 69.2869)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4DDC #ADDC4D
analogous
#4D65DC #7C4DDC #C34DDC
triadic
#7C4DDC #DC7C4D #4DDC7C
tetradic
#7C4DDC #DC4D65 #ADDC4D #4DDCC3
square
#7C4DDC #DC4D65 #ADDC4D #4DDCC3
split-complementary
#7C4DDC #DCC34D #65DC4D
monochromatic
#431D92 #5B27C5 #7C4DDC #A280E6 #C7B3F0

Accessibility & contrast

On white

5.31
#7C4DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7C4DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4DDC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4DDC#FFFFFF#000000##FFFFFF
##7C4DDC1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#616F8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7c4ddc;
/* rgb */ color: rgb(124, 77, 220);
/* oklch */ color: oklch(55.1% 0.207 293.6);
Tailwind
colors: {
  custom: {
    50: '#a981e8',
    500: '#7c4ddc',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ddc;
$custom-light: #a981e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ddc",
  "rgb": {
    "r": 124,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 259.72,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55069,
    "c": 0.20685,
    "h": 293.6
  },
  "luminance": 0.1476
}

Semantic roles & 50–950 ramp

primary
#7C4DDC
secondary
#CCDFA6
accent
#EA3EB1
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C4DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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