#7D508D#7D508D

#7D508D is a mid, moderate purple. Relative luminance 0.120; OKLCH L 50.6% C 0.107 H 316.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7D508D
RGBrgb(125, 80, 141)
HSLhsl(284, 28%, 43%)
HSVhsv(284, 43%, 55%)
CMYKcmyk(11.3%, 43.3%, 0%, 44.7%)
CIE-LABlab(41.25, 30.08, -26.42)
CIE-LCHlch(41.25, 40.03, 318.70°)
OKLaboklab(50.58% 0.0777 -0.0729)
OKLCHoklch(50.58% 0.107 316.8)
XYZxyz(16.1331, 12.0208, 26.6645)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D508D #608D50
analogous
#5E508D #7D508D #8D507E
triadic
#7D508D #8D7D50 #508D7D
tetradic
#7D508D #8D5E50 #608D50 #507E8D
square
#7D508D #8D5E50 #608D50 #507E8D
split-complementary
#7D508D #7E8D50 #508D5E
monochromatic
#38243F #5A3A66 #7D508D #9C6EAD #B795C3

Accessibility & contrast

On white

6.17
#7D508D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7D508D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D508D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D508D#FFFFFF#000000##FFFFFF
##7D508D1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465E8F
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#7D5868
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d508d;
/* rgb */ color: rgb(125, 80, 141);
/* oklch */ color: oklch(50.6% 0.107 316.8);
Tailwind
colors: {
  custom: {
    50: '#a482ae',
    500: '#7d508d',
    950: '#000000',
  },
}
SCSS
$custom: #7d508d;
$custom-light: #a482ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7d508d",
  "rgb": {
    "r": 125,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 284.262,
    "s": 27.602,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50576,
    "c": 0.10654,
    "h": 316.8
  },
  "luminance": 0.1202
}

Semantic roles & 50–950 ramp

primary
#7D508D
secondary
#93AF89
accent
#C4647D
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #7D508D

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

Preview Lab → · Contrast checker → · Palette generator →

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