#7D4FCC#7D4FCC

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

Color values

HEX#7D4FCC
RGBrgb(125, 79, 204)
HSLhsl(262, 55%, 55%)
HSVhsv(262, 61%, 80%)
CMYKcmyk(38.7%, 61.3%, 0%, 20%)
CIE-LABlab(44.68, 46.16, -58.17)
CIE-LCHlch(44.68, 74.26, 308.43°)
OKLaboklab(54.28% 0.0832 -0.1656)
OKLCHoklch(54.28% 0.185 296.7)
XYZxyz(22.1497, 14.3112, 58.7104)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FCC #9ECC4F
analogous
#4F5FCC #7D4FCC #BB4FCC
triadic
#7D4FCC #CC7D4F #4FCC7D
tetradic
#7D4FCC #CC4F5F #9ECC4F #4FCCBB
square
#7D4FCC #CC4F5F #9ECC4F #4FCCBB
split-complementary
#7D4FCC #CCBB4F #5FCC4F
monochromatic
#45247D #5F32AC #7D4FCC #A07EDA #C3AEE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D4FCC#FFFFFF#000000##FFFFFF
##7D4FCC1.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)
#006AD0
Deuteranopia (green-blind)
#0F68C9
Tritanopia (blue-blind)
#6A6B86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d4fcc;
/* rgb */ color: rgb(125, 79, 204);
/* oklch */ color: oklch(54.3% 0.185 296.7);
Tailwind
colors: {
  custom: {
    50: '#a882dc',
    500: '#7d4fcc',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fcc;
$custom-light: #a882dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fcc",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 262.08,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54282,
    "c": 0.18532,
    "h": 296.7
  },
  "luminance": 0.14312
}

Semantic roles & 50–950 ramp

primary
#7D4FCC
secondary
#C2D5A1
accent
#DE49A8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D4FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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