#7C4CD8#7C4CD8

#7C4CD8 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.203 H 294.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7C4CD8
RGBrgb(124, 76, 216)
HSLhsl(261, 64%, 57%)
HSVhsv(261, 65%, 85%)
CMYKcmyk(42.6%, 64.8%, 0%, 15.3%)
CIE-LABlab(44.82, 50.73, -64.84)
CIE-LCHlch(44.82, 82.33, 308.04°)
OKLaboklab(54.63% 0.0842 -0.1852)
OKLCHoklch(54.63% 0.203 294.4)
XYZxyz(23.2880, 14.4112, 66.5071)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CD8 #A8D84C
analogous
#4C62D8 #7C4CD8 #C24CD8
triadic
#7C4CD8 #D87C4C #4CD87C
tetradic
#7C4CD8 #D84C62 #A8D84C #4CD8C2
square
#7C4CD8 #D84C62 #A8D84C #4CD8C2
split-complementary
#7C4CD8 #D8C24C #62D84C
monochromatic
#441E8B #5C29BE #7C4CD8 #A17EE3 #C6B1EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C4CD8#FFFFFF#000000##FFFFFF
##7C4CD81.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)
#006BDC
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#636D8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c4cd8;
/* rgb */ color: rgb(124, 76, 216);
/* oklch */ color: oklch(54.6% 0.203 294.4);
Tailwind
colors: {
  custom: {
    50: '#a981e5',
    500: '#7c4cd8',
    950: '#000000',
  },
}
SCSS
$custom: #7c4cd8;
$custom-light: #a981e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4cd8",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 260.571,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54627,
    "c": 0.20344,
    "h": 294.4
  },
  "luminance": 0.14412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C4CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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