#7C4DD3#7C4DD3

#7C4DD3 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.196 H 295.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7C4DD3
RGBrgb(124, 77, 211)
HSLhsl(261, 60%, 56%)
HSVhsv(261, 64%, 83%)
CMYKcmyk(41.2%, 63.5%, 0%, 17.3%)
CIE-LABlab(44.65, 48.87, -62.24)
CIE-LCHlch(44.65, 79.13, 308.14°)
OKLaboklab(54.4% 0.0836 -0.1776)
OKLCHoklch(54.4% 0.196 295.2)
XYZxyz(22.7208, 14.2955, 63.1776)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4DD3 #A4D34D
analogous
#4D61D3 #7C4DD3 #BF4DD3
triadic
#7C4DD3 #D37C4D #4DD37C
tetradic
#7C4DD3 #D34D61 #A4D34D #4DD3BF
square
#7C4DD3 #D34D61 #A4D34D #4DD3BF
split-complementary
#7C4DD3 #D3BF4D #61D34D
monochromatic
#442185 #5D2DB6 #7C4DD3 #A07EDF #C4AFEB

Accessibility & contrast

On white

5.44
#7C4DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7C4DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4DD3
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4DD3#FFFFFF#000000##FFFFFF
##7C4DD31.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#656C89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c4dd3;
/* rgb */ color: rgb(124, 77, 211);
/* oklch */ color: oklch(54.4% 0.196 295.2);
Tailwind
colors: {
  custom: {
    50: '#a881e1',
    500: '#7c4dd3',
    950: '#000000',
  },
}
SCSS
$custom: #7c4dd3;
$custom-light: #a881e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4dd3",
  "rgb": {
    "r": 124,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 261.045,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54395,
    "c": 0.19627,
    "h": 295.2
  },
  "luminance": 0.14296
}

Semantic roles & 50–950 ramp

primary
#7C4DD3
secondary
#C6D9A2
accent
#E444AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C4DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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