#7F2B76#7F2B76

#7F2B76 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.148 H 332.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7F2B76
RGBrgb(127, 43, 118)
HSLhsl(306, 49%, 33%)
HSVhsv(306, 66%, 50%)
CMYKcmyk(0%, 66.1%, 7.1%, 50.2%)
CIE-LABlab(33.02, 45.55, -25.07)
CIE-LCHlch(33.02, 51.99, 331.18°)
OKLaboklab(44.19% 0.1306 -0.0687)
OKLCHoklch(44.19% 0.148 332.3)
XYZxyz(12.8863, 7.5488, 17.9144)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B76 #2B7F34
analogous
#5E2B7F #7F2B76 #7F2B4C
triadic
#7F2B76 #767F2B #2B767F
tetradic
#7F2B76 #7F5E2B #2B7F34 #2B4C7F
square
#7F2B76 #7F5E2B #2B7F34 #2B4C7F
split-complementary
#7F2B76 #4C7F2B #2B7F5E
monochromatic
#240C21 #511C4C #7F2B76 #AD3AA0 #C85CBC

Accessibility & contrast

On white

8.37
#7F2B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7F2B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B76
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B76#FFFFFF#000000##FFFFFF
##7F2B761.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2b76;
/* rgb */ color: rgb(127, 43, 118);
/* oklch */ color: oklch(44.2% 0.148 332.3);
Tailwind
colors: {
  custom: {
    50: '#a76b9e',
    500: '#7f2b76',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b76;
$custom-light: #a76b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b76",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 306.429,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44185,
    "c": 0.14756,
    "h": 332.3
  },
  "luminance": 0.07548
}

Semantic roles & 50–950 ramp

primary
#7F2B76
secondary
#58AE61
accent
#D95E4F
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7F2B76

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

Preview Lab → · Contrast checker → · Palette generator →

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