#7F4599#7F4599

#7F4599 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 49.7% C 0.141 H 314.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7F4599
RGBrgb(127, 69, 153)
HSLhsl(281, 38%, 44%)
HSVhsv(281, 55%, 60%)
CMYKcmyk(17%, 54.9%, 0%, 40%)
CIE-LABlab(39.70, 39.58, -36.10)
CIE-LCHlch(39.70, 53.57, 317.64°)
OKLaboklab(49.68% 0.0984 -0.1008)
OKLCHoklch(49.68% 0.141 314.3)
XYZxyz(16.6294, 11.0686, 31.3913)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4599 #5F9945
analogous
#554599 #7F4599 #994589
triadic
#7F4599 #997F45 #45997F
tetradic
#7F4599 #995545 #5F9945 #458999
square
#7F4599 #995545 #5F9945 #458999
split-complementary
#7F4599 #899945 #459955
monochromatic
#391F45 #5C326F #7F4599 #9E63B9 #B88DCC

Accessibility & contrast

On white

6.53
#7F4599 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7F4599 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4599
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4599#FFFFFF#000000##FFFFFF
##7F45991.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9C
Deuteranopia (green-blind)
#435F97
Tritanopia (blue-blind)
#7D5368
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f4599;
/* rgb */ color: rgb(127, 69, 153);
/* oklch */ color: oklch(49.7% 0.141 314.3);
Tailwind
colors: {
  custom: {
    50: '#a67bb7',
    500: '#7f4599',
    950: '#000000',
  },
}
SCSS
$custom: #7f4599;
$custom-light: #a67bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4599",
  "rgb": {
    "r": 127,
    "g": 69,
    "b": 153
  },
  "hsl": {
    "h": 281.429,
    "s": 37.838,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49677,
    "c": 0.14082,
    "h": 314.3
  },
  "luminance": 0.11068
}

Semantic roles & 50–950 ramp

primary
#7F4599
secondary
#93B783
accent
#CE5A7E
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #7F4599

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

Preview Lab → · Contrast checker → · Palette generator →

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