#7D4E92#7D4E92

#7D4E92 is a mid, moderate purple. Relative luminance 0.119; OKLCH L 50.5% C 0.116 H 314.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7D4E92
RGBrgb(125, 78, 146)
HSLhsl(281, 30%, 44%)
HSVhsv(281, 47%, 57%)
CMYKcmyk(14.4%, 46.6%, 0%, 42.7%)
CIE-LABlab(41.03, 32.36, -29.78)
CIE-LCHlch(41.03, 43.98, 317.37°)
OKLaboklab(50.49% 0.0817 -0.0826)
OKLCHoklch(50.49% 0.116 314.7)
XYZxyz(16.3693, 11.8845, 28.6202)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4E92 #63924E
analogous
#5B4E92 #7D4E92 #924E85
triadic
#7D4E92 #927D4E #4E927D
tetradic
#7D4E92 #925B4E #63924E #4E8592
square
#7D4E92 #925B4E #63924E #4E8592
split-complementary
#7D4E92 #85924E #4E925B
monochromatic
#392342 #5B396A #7D4E92 #9C6CB1 #B794C6

Accessibility & contrast

On white

6.22
#7D4E92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7D4E92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4E92
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4E92#FFFFFF#000000##FFFFFF
##7D4E921.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415E94
Deuteranopia (green-blind)
#4E6290
Tritanopia (blue-blind)
#7C5869
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d4e92;
/* rgb */ color: rgb(125, 78, 146);
/* oklch */ color: oklch(50.5% 0.116 314.7);
Tailwind
colors: {
  custom: {
    50: '#a481b2',
    500: '#7d4e92',
    950: '#000000',
  },
}
SCSS
$custom: #7d4e92;
$custom-light: #a481b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4e92",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 146
  },
  "hsl": {
    "h": 281.471,
    "s": 30.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50493,
    "c": 0.11617,
    "h": 314.7
  },
  "luminance": 0.11884
}

Semantic roles & 50–950 ramp

primary
#7D4E92
secondary
#96B389
accent
#C76181
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7D4E92

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

Preview Lab → · Contrast checker → · Palette generator →

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