#7D4E91#7D4E91

#7D4E91 is a mid, moderate purple. Relative luminance 0.119; OKLCH L 50.4% C 0.115 H 315.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7D4E91
RGBrgb(125, 78, 145)
HSLhsl(282, 30%, 44%)
HSVhsv(282, 46%, 57%)
CMYKcmyk(13.8%, 46.2%, 0%, 43.1%)
CIE-LABlab(40.98, 32.13, -29.26)
CIE-LCHlch(40.98, 43.46, 317.68°)
OKLaboklab(50.44% 0.0815 -0.0811)
OKLCHoklch(50.44% 0.115 315.2)
XYZxyz(16.2919, 11.8535, 28.2123)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4E91 #62914E
analogous
#5B4E91 #7D4E91 #914E83
triadic
#7D4E91 #917D4E #4E917D
tetradic
#7D4E91 #915B4E #62914E #4E8391
square
#7D4E91 #915B4E #62914E #4E8391
split-complementary
#7D4E91 #83914E #4E915B
monochromatic
#382341 #5B3969 #7D4E91 #9C6CB0 #B794C5

Accessibility & contrast

On white

6.23
#7D4E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7D4E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4E91
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4E91#FFFFFF#000000##FFFFFF
##7D4E911.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415E93
Deuteranopia (green-blind)
#4E628F
Tritanopia (blue-blind)
#7C5868
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d4e91;
/* rgb */ color: rgb(125, 78, 145);
/* oklch */ color: oklch(50.4% 0.115 315.2);
Tailwind
colors: {
  custom: {
    50: '#a481b1',
    500: '#7d4e91',
    950: '#000000',
  },
}
SCSS
$custom: #7d4e91;
$custom-light: #a481b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4e91",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 282.09,
    "s": 30.045,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50439,
    "c": 0.11497,
    "h": 315.2
  },
  "luminance": 0.11853
}

Semantic roles & 50–950 ramp

primary
#7D4E91
secondary
#95B289
accent
#C66280
background
#FAF7FA
surface
#F4EEF5
border
#CEC9CF
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7D4E91

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

Preview Lab → · Contrast checker → · Palette generator →

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