#7F2C76#7F2C76

#7F2C76 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.146 H 332.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7F2C76
RGBrgb(127, 44, 118)
HSLhsl(307, 49%, 34%)
HSVhsv(307, 65%, 50%)
CMYKcmyk(0%, 65.4%, 7.1%, 50.2%)
CIE-LABlab(33.18, 45.11, -24.82)
CIE-LCHlch(33.18, 51.48, 331.18°)
OKLaboklab(44.3% 0.1293 -0.068)
OKLCHoklch(44.3% 0.146 332.3)
XYZxyz(12.9231, 7.6224, 17.9266)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2C76 #2C7F35
analogous
#5E2C7F #7F2C76 #7F2C4C
triadic
#7F2C76 #767F2C #2C767F
tetradic
#7F2C76 #7F5E2C #2C7F35 #2C4C7F
square
#7F2C76 #7F5E2C #2C7F35 #2C4C7F
split-complementary
#7F2C76 #4C7F2C #2C7F5E
monochromatic
#240D22 #521C4C #7F2C76 #AC3CA0 #C75EBC

Accessibility & contrast

On white

8.32
#7F2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7F2C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2C76
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2C76#FFFFFF#000000##FFFFFF
##7F2C761.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294678
Deuteranopia (green-blind)
#445274
Tritanopia (blue-blind)
#84334D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f2c76;
/* rgb */ color: rgb(127, 44, 118);
/* oklch */ color: oklch(44.3% 0.146 332.3);
Tailwind
colors: {
  custom: {
    50: '#a76b9e',
    500: '#7f2c76',
    950: '#000000',
  },
}
SCSS
$custom: #7f2c76;
$custom-light: #a76b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2c76",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 306.506,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44301,
    "c": 0.1461,
    "h": 332.3
  },
  "luminance": 0.07621
}

Semantic roles & 50–950 ramp

primary
#7F2C76
secondary
#59AD63
accent
#D85E50
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7F2C76

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

Preview Lab → · Contrast checker → · Palette generator →

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