#7D507A#7D507A

#7D507A is a mid, moderate purple. Relative luminance 0.115; OKLCH L 49.7% C 0.085 H 329.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7D507A
RGBrgb(125, 80, 122)
HSLhsl(304, 22%, 40%)
HSVhsv(304, 36%, 49%)
CMYKcmyk(0%, 36%, 2.4%, 51%)
CIE-LABlab(40.42, 26.06, -16.13)
CIE-LCHlch(40.42, 30.65, 328.24°)
OKLaboklab(49.67% 0.073 -0.0437)
OKLCHoklch(49.67% 0.085 329.1)
XYZxyz(14.8387, 11.5031, 19.8473)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D507A #507D53
analogous
#69507D #7D507A #7D5063
triadic
#7D507A #7A7D50 #507A7D
tetradic
#7D507A #7D6950 #507D53 #50637D
square
#7D507A #7D6950 #507D53 #50637D
split-complementary
#7D507A #637D50 #507D69
monochromatic
#322031 #583856 #7D507A #A06A9C #B890B5

Accessibility & contrast

On white

6.36
#7D507A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7D507A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D507A
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D507A#FFFFFF#000000##FFFFFF
##7D507A1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7C
Deuteranopia (green-blind)
#596179
Tritanopia (blue-blind)
#80535F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d507a;
/* rgb */ color: rgb(125, 80, 122);
/* oklch */ color: oklch(49.7% 0.085 329.1);
Tailwind
colors: {
  custom: {
    50: '#a382a0',
    500: '#7d507a',
    950: '#000000',
  },
}
SCSS
$custom: #7d507a;
$custom-light: #a382a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d507a",
  "rgb": {
    "r": 125,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 304,
    "s": 21.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49673,
    "c": 0.08505,
    "h": 329.1
  },
  "luminance": 0.11502
}

Semantic roles & 50–950 ramp

primary
#7D507A
secondary
#84A586
accent
#BE6F69
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7D507A

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

Preview Lab → · Contrast checker → · Palette generator →

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