#7D4D92#7D4D92

#7D4D92 is a mid, moderate purple. Relative luminance 0.117; OKLCH L 50.3% C 0.118 H 314.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7D4D92
RGBrgb(125, 77, 146)
HSLhsl(282, 31%, 44%)
HSVhsv(282, 47%, 57%)
CMYKcmyk(14.4%, 47.3%, 0%, 42.7%)
CIE-LABlab(40.81, 32.93, -30.14)
CIE-LCHlch(40.81, 44.64, 317.54°)
OKLaboklab(50.32% 0.0832 -0.0836)
OKLCHoklch(50.32% 0.118 314.9)
XYZxyz(16.2988, 11.7435, 28.5967)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4D92 #62924D
analogous
#5A4D92 #7D4D92 #924D84
triadic
#7D4D92 #927D4D #4D927D
tetradic
#7D4D92 #925A4D #62924D #4D8492
square
#7D4D92 #925A4D #62924D #4D8492
split-complementary
#7D4D92 #84924D #4D925A
monochromatic
#382342 #5B386A #7D4D92 #9C6BB1 #B793C6

Accessibility & contrast

On white

6.27
#7D4D92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7D4D92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4D92
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4D92#FFFFFF#000000##FFFFFF
##7D4D921.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5D94
Deuteranopia (green-blind)
#4D6290
Tritanopia (blue-blind)
#7C5768
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d4d92;
/* rgb */ color: rgb(125, 77, 146);
/* oklch */ color: oklch(50.3% 0.118 314.9);
Tailwind
colors: {
  custom: {
    50: '#a480b2',
    500: '#7d4d92',
    950: '#000000',
  },
}
SCSS
$custom: #7d4d92;
$custom-light: #a480b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4d92",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 146
  },
  "hsl": {
    "h": 281.739,
    "s": 30.942,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50324,
    "c": 0.11795,
    "h": 314.9
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

primary
#7D4D92
secondary
#95B388
accent
#C76180
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7D4D92

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

Preview Lab → · Contrast checker → · Palette generator →

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