#7D4E93#7D4E93

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

Color values

HEX#7D4E93
RGBrgb(125, 78, 147)
HSLhsl(281, 31%, 44%)
HSVhsv(281, 47%, 58%)
CMYKcmyk(15%, 46.9%, 0%, 42.4%)
CIE-LABlab(41.08, 32.58, -30.31)
CIE-LCHlch(41.08, 44.50, 317.07°)
OKLaboklab(50.55% 0.0819 -0.0841)
OKLCHoklch(50.55% 0.117 314.2)
XYZxyz(16.4474, 11.9157, 29.0317)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4E93 #64934E
analogous
#5B4E93 #7D4E93 #934E87
triadic
#7D4E93 #937D4E #4E937D
tetradic
#7D4E93 #935B4E #64934E #4E8793
square
#7D4E93 #935B4E #64934E #4E8793
split-complementary
#7D4E93 #87934E #4E935B
monochromatic
#392443 #5B396B #7D4E93 #9C6DB1 #B795C7

Accessibility & contrast

On white

6.21
#7D4E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D4E93
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4E93#FFFFFF#000000##FFFFFF
##7D4E931.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405E95
Deuteranopia (green-blind)
#4D6291
Tritanopia (blue-blind)
#7B5869
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d4e93;
/* rgb */ color: rgb(125, 78, 147);
/* oklch */ color: oklch(50.5% 0.117 314.2);
Tailwind
colors: {
  custom: {
    50: '#a481b3',
    500: '#7d4e93',
    950: '#000000',
  },
}
SCSS
$custom: #7d4e93;
$custom-light: #a481b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4e93",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 280.87,
    "s": 30.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50546,
    "c": 0.11736,
    "h": 314.2
  },
  "luminance": 0.11915
}

Semantic roles & 50–950 ramp

primary
#7D4E93
secondary
#97B38A
accent
#C76181
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7D4E93

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

Preview Lab → · Contrast checker → · Palette generator →

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