#7D5183#7D5183

#7D5183 is a mid, moderate purple. Relative luminance 0.119; OKLCH L 50.3% C 0.093 H 322.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7D5183
RGBrgb(125, 81, 131)
HSLhsl(293, 24%, 42%)
HSVhsv(293, 38%, 51%)
CMYKcmyk(4.6%, 38.2%, 0%, 48.6%)
CIE-LABlab(41.03, 27.32, -20.69)
CIE-LCHlch(41.03, 34.27, 322.87°)
OKLaboklab(50.26% 0.0738 -0.0565)
OKLCHoklch(50.26% 0.093 322.5)
XYZxyz(15.4962, 11.8841, 22.9459)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5183 #578351
analogous
#645183 #7D5183 #835170
triadic
#7D5183 #837D51 #51837D
tetradic
#7D5183 #836451 #578351 #517083
square
#7D5183 #836451 #578351 #517083
split-complementary
#7D5183 #708351 #518364
monochromatic
#352237 #593A5D #7D5183 #9E6DA5 #B792BC

Accessibility & contrast

On white

6.22
#7D5183 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D5183
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5183#FFFFFF#000000##FFFFFF
##7D51831.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5E85
Deuteranopia (green-blind)
#576381
Tritanopia (blue-blind)
#7F5664
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d5183;
/* rgb */ color: rgb(125, 81, 131);
/* oklch */ color: oklch(50.3% 0.093 322.5);
Tailwind
colors: {
  custom: {
    50: '#a383a7',
    500: '#7d5183',
    950: '#000000',
  },
}
SCSS
$custom: #7d5183;
$custom-light: #a383a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5183",
  "rgb": {
    "r": 125,
    "g": 81,
    "b": 131
  },
  "hsl": {
    "h": 292.8,
    "s": 23.585,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50263,
    "c": 0.09297,
    "h": 322.5
  },
  "luminance": 0.11884
}

Semantic roles & 50–950 ramp

primary
#7D5183
secondary
#8BA987
accent
#C06872
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0A0F
muted
#7F7C7F

Preview Lab

Preview with #7D5183

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

Preview Lab → · Contrast checker → · Palette generator →

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