#7C4DD5#7C4DD5

#7C4DD5 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.199 H 294.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7C4DD5
RGBrgb(124, 77, 213)
HSLhsl(261, 62%, 57%)
HSVhsv(261, 64%, 84%)
CMYKcmyk(41.8%, 63.8%, 0%, 16.5%)
CIE-LABlab(44.80, 49.40, -63.15)
CIE-LCHlch(44.80, 80.18, 308.04°)
OKLaboklab(54.54% 0.0834 -0.1802)
OKLCHoklch(54.54% 0.199 294.8)
XYZxyz(22.9731, 14.3964, 64.5063)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4DD5 #A6D54D
analogous
#4D62D5 #7C4DD5 #C04DD5
triadic
#7C4DD5 #D57C4D #4DD57C
tetradic
#7C4DD5 #D54D62 #A6D54D #4DD5C0
square
#7C4DD5 #D54D62 #A6D54D #4DD5C0
split-complementary
#7C4DD5 #D5C04D #62D54D
monochromatic
#442088 #5D2CB9 #7C4DD5 #A07FE1 #C5B0EC

Accessibility & contrast

On white

5.41
#7C4DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7C4DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4DD5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4DD5#FFFFFF#000000##FFFFFF
##7C4DD51.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#646D8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c4dd5;
/* rgb */ color: rgb(124, 77, 213);
/* oklch */ color: oklch(54.5% 0.199 294.8);
Tailwind
colors: {
  custom: {
    50: '#a881e3',
    500: '#7c4dd5',
    950: '#000000',
  },
}
SCSS
$custom: #7c4dd5;
$custom-light: #a881e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4dd5",
  "rgb": {
    "r": 124,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 260.735,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54543,
    "c": 0.19863,
    "h": 294.8
  },
  "luminance": 0.14397
}

Semantic roles & 50–950 ramp

primary
#7C4DD5
secondary
#C7DBA3
accent
#E543AD
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #7C4DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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