#7C4DD7#7C4DD7

#7C4DD7 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.201 H 294.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7C4DD7
RGBrgb(124, 77, 215)
HSLhsl(260, 63%, 57%)
HSVhsv(260, 64%, 84%)
CMYKcmyk(42.3%, 64.2%, 0%, 15.7%)
CIE-LABlab(44.94, 49.94, -64.07)
CIE-LCHlch(44.94, 81.23, 307.93°)
OKLaboklab(54.69% 0.0833 -0.1829)
OKLCHoklch(54.69% 0.201 294.5)
XYZxyz(23.2285, 14.4986, 65.8515)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4DD7 #A8D74D
analogous
#4D63D7 #7C4DD7 #C14DD7
triadic
#7C4DD7 #D77C4D #4DD77C
tetradic
#7C4DD7 #D74D63 #A8D74D #4DD7C1
square
#7C4DD7 #D74D63 #A8D74D #4DD7C1
split-complementary
#7C4DD7 #D7C14D #63D74D
monochromatic
#441F8A #5C2ABC #7C4DD7 #A17FE2 #C6B1ED

Accessibility & contrast

On white

5.38
#7C4DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7C4DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4DD7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4DD7#FFFFFF#000000##FFFFFF
##7C4DD71.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#636D8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c4dd7;
/* rgb */ color: rgb(124, 77, 215);
/* oklch */ color: oklch(54.7% 0.201 294.5);
Tailwind
colors: {
  custom: {
    50: '#a881e4',
    500: '#7c4dd7',
    950: '#000000',
  },
}
SCSS
$custom: #7c4dd7;
$custom-light: #a881e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4dd7",
  "rgb": {
    "r": 124,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 260.435,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54692,
    "c": 0.20098,
    "h": 294.5
  },
  "luminance": 0.14499
}

Semantic roles & 50–950 ramp

primary
#7C4DD7
secondary
#C9DCA4
accent
#E641AE
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7C4DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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