#7F5083#7F5083

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

Color values

HEX#7F5083
RGBrgb(127, 80, 131)
HSLhsl(295, 24%, 41%)
HSVhsv(295, 39%, 51%)
CMYKcmyk(3.1%, 38.9%, 0%, 48.6%)
CIE-LABlab(41.04, 28.59, -20.66)
CIE-LCHlch(41.04, 35.27, 324.15°)
OKLaboklab(50.32% 0.0779 -0.0564)
OKLCHoklch(50.32% 0.096 324.1)
XYZxyz(15.7174, 11.8886, 22.9351)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5083 #548350
analogous
#665083 #7F5083 #83506E
triadic
#7F5083 #837F50 #50837F
tetradic
#7F5083 #836650 #548350 #506E83
square
#7F5083 #836650 #548350 #506E83
split-complementary
#7F5083 #6E8350 #508366
monochromatic
#352237 #5A395D #7F5083 #A06BA5 #B991BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F5083#FFFFFF#000000##FFFFFF
##7F50831.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)
#4B5D85
Deuteranopia (green-blind)
#576381
Tritanopia (blue-blind)
#815563
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f5083;
/* rgb */ color: rgb(127, 80, 131);
/* oklch */ color: oklch(50.3% 0.096 324.1);
Tailwind
colors: {
  custom: {
    50: '#a582a7',
    500: '#7f5083',
    950: '#000000',
  },
}
SCSS
$custom: #7f5083;
$custom-light: #a582a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5083",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 131
  },
  "hsl": {
    "h": 295.294,
    "s": 24.171,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50323,
    "c": 0.0962,
    "h": 324.1
  },
  "luminance": 0.11888
}

Semantic roles & 50–950 ramp

primary
#7F5083
secondary
#89A986
accent
#C1676E
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0A0F
muted
#7F7C7F

Preview Lab

Preview with #7F5083

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

Preview Lab → · Contrast checker → · Palette generator →

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