#7D4FC2#7D4FC2

#7D4FC2 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.173 H 298.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7D4FC2
RGBrgb(125, 79, 194)
HSLhsl(264, 49%, 54%)
HSVhsv(264, 59%, 76%)
CMYKcmyk(35.6%, 59.3%, 0%, 23.9%)
CIE-LABlab(44.01, 43.54, -53.46)
CIE-LCHlch(44.01, 68.95, 309.16°)
OKLaboklab(53.59% 0.0836 -0.1517)
OKLCHoklch(53.59% 0.173 298.9)
XYZxyz(20.9886, 13.8468, 52.5954)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FC2 #94C24F
analogous
#4F5AC2 #7D4FC2 #B64FC2
triadic
#7D4FC2 #C27D4F #4FC27D
tetradic
#7D4FC2 #C24F5A #94C24F #4FC2B6
square
#7D4FC2 #C24F5A #94C24F #4FC2B6
split-complementary
#7D4FC2 #C2B64F #5AC24F
monochromatic
#442770 #60379D #7D4FC2 #9F7CD2 #C0AAE2

Accessibility & contrast

On white

5.57
#7D4FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7D4FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FC2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FC2#FFFFFF#000000##FFFFFF
##7D4FC21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A68C6
Deuteranopia (green-blind)
#2667BF
Tritanopia (blue-blind)
#6E6781
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d4fc2;
/* rgb */ color: rgb(125, 79, 194);
/* oklch */ color: oklch(53.6% 0.173 298.9);
Tailwind
colors: {
  custom: {
    50: '#a782d5',
    500: '#7d4fc2',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fc2;
$custom-light: #a782d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fc2",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 264,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53587,
    "c": 0.17323,
    "h": 298.9
  },
  "luminance": 0.13847
}

Semantic roles & 50–950 ramp

primary
#7D4FC2
secondary
#BBCF9E
accent
#D850A2
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7D4FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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