#7C4FDC#7C4FDC

#7C4FDC is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.204 H 293.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7C4FDC
RGBrgb(124, 79, 220)
HSLhsl(259, 67%, 59%)
HSVhsv(259, 64%, 86%)
CMYKcmyk(43.6%, 64.1%, 0%, 13.7%)
CIE-LABlab(45.69, 50.21, -65.70)
CIE-LCHlch(45.69, 82.68, 307.39°)
OKLaboklab(55.35% 0.0806 -0.1877)
OKLCHoklch(55.35% 0.204 293.2)
XYZxyz(24.0229, 15.0437, 69.3343)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4FDC #AFDC4F
analogous
#4F68DC #7C4FDC #C24FDC
triadic
#7C4FDC #DC7C4F #4FDC7C
tetradic
#7C4FDC #DC4F68 #AFDC4F #4FDCC2
square
#7C4FDC #DC4F68 #AFDC4F #4FDCC2
split-complementary
#7C4FDC #DCC24F #68DC4F
monochromatic
#431D93 #5A27C6 #7C4FDC #A282E6 #C8B5F0

Accessibility & contrast

On white

5.24
#7C4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7C4FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4FDC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4FDC#FFFFFF#000000##FFFFFF
##7C4FDC1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#61708E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c4fdc;
/* rgb */ color: rgb(124, 79, 220);
/* oklch */ color: oklch(55.4% 0.204 293.2);
Tailwind
colors: {
  custom: {
    50: '#a983e8',
    500: '#7c4fdc',
    950: '#000000',
  },
}
SCSS
$custom: #7c4fdc;
$custom-light: #a983e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4fdc",
  "rgb": {
    "r": 124,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 259.149,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55351,
    "c": 0.20431,
    "h": 293.2
  },
  "luminance": 0.15044
}

Semantic roles & 50–950 ramp

primary
#7C4FDC
secondary
#CDDFA8
accent
#EA3EB3
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C4FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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