#7F4E82#7F4E82

#7F4E82 is a mid, moderate purple. Relative luminance 0.116; OKLCH L 49.9% C 0.099 H 324.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7F4E82
RGBrgb(127, 78, 130)
HSLhsl(297, 25%, 41%)
HSVhsv(297, 40%, 51%)
CMYKcmyk(2.3%, 40%, 0%, 49%)
CIE-LABlab(40.53, 29.54, -20.83)
CIE-LCHlch(40.53, 36.15, 324.81°)
OKLaboklab(49.93% 0.0809 -0.0569)
OKLCHoklch(49.93% 0.099 324.9)
XYZxyz(15.5057, 11.5731, 22.5318)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4E82 #51824E
analogous
#654E82 #7F4E82 #824E6B
triadic
#7F4E82 #827F4E #4E827F
tetradic
#7F4E82 #82654E #51824E #4E6B82
square
#7F4E82 #82654E #51824E #4E6B82
split-complementary
#7F4E82 #6B824E #4E8265
monochromatic
#342035 #5A375C #7F4E82 #A168A5 #B98FBC

Accessibility & contrast

On white

6.34
#7F4E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7F4E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4E82
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4E82#FFFFFF#000000##FFFFFF
##7F4E821.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495C84
Deuteranopia (green-blind)
#566280
Tritanopia (blue-blind)
#815362
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f4e82;
/* rgb */ color: rgb(127, 78, 130);
/* oklch */ color: oklch(49.9% 0.099 324.9);
Tailwind
colors: {
  custom: {
    50: '#a581a6',
    500: '#7f4e82',
    950: '#000000',
  },
}
SCSS
$custom: #7f4e82;
$custom-light: #a581a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4e82",
  "rgb": {
    "r": 127,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 296.538,
    "s": 25,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49925,
    "c": 0.09891,
    "h": 324.9
  },
  "luminance": 0.11573
}

Semantic roles & 50–950 ramp

primary
#7F4E82
secondary
#86A884
accent
#C1666C
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A0F
muted
#7F7C7F

Preview Lab

Preview with #7F4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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