#7F507A#7F507A

#7F507A is a mid, moderate purple. Relative luminance 0.117; OKLCH L 49.9% C 0.087 H 330.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7F507A
RGBrgb(127, 80, 122)
HSLhsl(306, 23%, 41%)
HSVhsv(306, 37%, 50%)
CMYKcmyk(0%, 37%, 3.9%, 50.2%)
CIE-LABlab(40.66, 26.77, -15.73)
CIE-LCHlch(40.66, 31.05, 329.56°)
OKLaboklab(49.92% 0.0755 -0.0425)
OKLCHoklch(49.92% 0.087 330.6)
XYZxyz(15.1337, 11.6552, 19.8611)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F507A #507F55
analogous
#6C507F #7F507A #7F5062
triadic
#7F507A #7A7F50 #507A7F
tetradic
#7F507A #7F6C50 #507F55 #50627F
square
#7F507A #7F6C50 #507F55 #50627F
split-complementary
#7F507A #627F50 #507F6C
monochromatic
#342132 #593856 #7F507A #A26B9C #B990B5

Accessibility & contrast

On white

6.30
#7F507A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7F507A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F507A
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F507A#FFFFFF#000000##FFFFFF
##7F507A1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7C
Deuteranopia (green-blind)
#5A6278
Tritanopia (blue-blind)
#83535F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f507a;
/* rgb */ color: rgb(127, 80, 122);
/* oklch */ color: oklch(49.9% 0.087 330.6);
Tailwind
colors: {
  custom: {
    50: '#a582a0',
    500: '#7f507a',
    950: '#000000',
  },
}
SCSS
$custom: #7f507a;
$custom-light: #a582a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f507a",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 306.383,
    "s": 22.705,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49915,
    "c": 0.08664,
    "h": 330.6
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#7F507A
secondary
#85A688
accent
#BF7269
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7F507A

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

Preview Lab → · Contrast checker → · Palette generator →

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