#7D4792#7D4792

#7D4792 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.3% C 0.129 H 315.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7D4792
RGBrgb(125, 71, 146)
HSLhsl(283, 35%, 43%)
HSVhsv(283, 51%, 57%)
CMYKcmyk(14.4%, 51.4%, 0%, 42.7%)
CIE-LABlab(39.48, 36.34, -32.22)
CIE-LCHlch(39.48, 48.57, 318.44°)
OKLaboklab(49.34% 0.0922 -0.0896)
OKLCHoklch(49.34% 0.129 315.8)
XYZxyz(15.8982, 10.9422, 28.4631)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4792 #5C9247
analogous
#584792 #7D4792 #924781
triadic
#7D4792 #927D47 #47927D
tetradic
#7D4792 #925847 #5C9247 #478192
square
#7D4792 #925847 #5C9247 #478192
split-complementary
#7D4792 #819247 #479258
monochromatic
#361F40 #5A3369 #7D4792 #9D63B3 #B78CC7

Accessibility & contrast

On white

6.59
#7D4792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7D4792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4792
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4792#FFFFFF#000000##FFFFFF
##7D47921.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375A95
Deuteranopia (green-blind)
#485F90
Tritanopia (blue-blind)
#7C5266
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d4792;
/* rgb */ color: rgb(125, 71, 146);
/* oklch */ color: oklch(49.3% 0.129 315.8);
Tailwind
colors: {
  custom: {
    50: '#a47cb2',
    500: '#7d4792',
    950: '#000000',
  },
}
SCSS
$custom: #7d4792;
$custom-light: #a47cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4792",
  "rgb": {
    "r": 125,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 283.2,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49341,
    "c": 0.12853,
    "h": 315.8
  },
  "luminance": 0.10942
}

Semantic roles & 50–950 ramp

primary
#7D4792
secondary
#90B382
accent
#CB5D7C
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7D4792

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

Preview Lab → · Contrast checker → · Palette generator →

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