#7D488D#7D488D

#7D488D is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.2% C 0.121 H 318.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7D488D
RGBrgb(125, 72, 141)
HSLhsl(286, 32%, 42%)
HSVhsv(286, 49%, 55%)
CMYKcmyk(11.3%, 48.9%, 0%, 44.7%)
CIE-LABlab(39.44, 34.67, -29.25)
CIE-LCHlch(39.44, 45.36, 319.85°)
OKLaboklab(49.23% 0.09 -0.081)
OKLCHoklch(49.23% 0.121 318)
XYZxyz(15.5819, 10.9183, 26.4808)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D488D #588D48
analogous
#5B488D #7D488D #8D487B
triadic
#7D488D #8D7D48 #488D7D
tetradic
#7D488D #8D5B48 #588D48 #487B8D
square
#7D488D #8D5B48 #588D48 #487B8D
split-complementary
#7D488D #7B8D48 #488D5B
monochromatic
#351F3C #593364 #7D488D #9E63AF #B78BC4

Accessibility & contrast

On white

6.60
#7D488D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7D488D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D488D
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D488D#FFFFFF#000000##FFFFFF
##7D488D1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598F
Deuteranopia (green-blind)
#4B5F8B
Tritanopia (blue-blind)
#7D5264
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d488d;
/* rgb */ color: rgb(125, 72, 141);
/* oklch */ color: oklch(49.2% 0.121 318.0);
Tailwind
colors: {
  custom: {
    50: '#a47dae',
    500: '#7d488d',
    950: '#000000',
  },
}
SCSS
$custom: #7d488d;
$custom-light: #a47dae;
$custom-dark: #000000;
JSON
{
  "hex": "#7d488d",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 286.087,
    "s": 32.394,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49227,
    "c": 0.12105,
    "h": 318
  },
  "luminance": 0.10918
}

Semantic roles & 50–950 ramp

primary
#7D488D
secondary
#8CB081
accent
#C95F78
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #7D488D

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

Preview Lab → · Contrast checker → · Palette generator →

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