#7D4E89#7D4E89

#7D4E89 is a mid, moderate purple. Relative luminance 0.116; OKLCH L 50.0% C 0.106 H 319.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7D4E89
RGBrgb(125, 78, 137)
HSLhsl(288, 27%, 42%)
HSVhsv(288, 43%, 54%)
CMYKcmyk(8.8%, 43.1%, 0%, 46.3%)
CIE-LABlab(40.60, 30.36, -25.01)
CIE-LCHlch(40.60, 39.34, 320.52°)
OKLaboklab(50.03% 0.08 -0.0688)
OKLCHoklch(50.03% 0.106 319.3)
XYZxyz(15.6966, 11.6154, 25.0772)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4E89 #5A894E
analogous
#604E89 #7D4E89 #894E78
triadic
#7D4E89 #897D4E #4E897D
tetradic
#7D4E89 #89604E #5A894E #4E7889
square
#7D4E89 #89604E #5A894E #4E7889
split-complementary
#7D4E89 #78894E #4E8960
monochromatic
#36223B #593862 #7D4E89 #9D6AAA #B791C0

Accessibility & contrast

On white

6.32
#7D4E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7D4E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4E89
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4E89#FFFFFF#000000##FFFFFF
##7D4E891.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C8B
Deuteranopia (green-blind)
#526187
Tritanopia (blue-blind)
#7E5565
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d4e89;
/* rgb */ color: rgb(125, 78, 137);
/* oklch */ color: oklch(50.0% 0.106 319.3);
Tailwind
colors: {
  custom: {
    50: '#a481ab',
    500: '#7d4e89',
    950: '#000000',
  },
}
SCSS
$custom: #7d4e89;
$custom-light: #a481ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4e89",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 287.797,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50026,
    "c": 0.10553,
    "h": 319.3
  },
  "luminance": 0.11615
}

Semantic roles & 50–950 ramp

primary
#7D4E89
secondary
#8EAD86
accent
#C46478
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #7D4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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