#7F2076#7F2076

#7F2076 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.162 H 332.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#7F2076
RGBrgb(127, 32, 118)
HSLhsl(306, 60%, 31%)
HSVhsv(306, 75%, 50%)
CMYKcmyk(0%, 74.8%, 7.1%, 50.2%)
CIE-LABlab(31.47, 49.91, -27.51)
CIE-LCHlch(31.47, 56.99, 331.14°)
OKLaboklab(43.06% 0.1433 -0.0756)
OKLCHoklch(43.06% 0.162 332.2)
XYZxyz(12.5390, 6.8541, 17.7986)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2076 #207F29
analogous
#58207F #7F2076 #7F2046
triadic
#7F2076 #767F20 #20767F
tetradic
#7F2076 #7F5820 #207F29 #20467F
square
#7F2076 #7F5820 #207F29 #20467F
split-complementary
#7F2076 #467F20 #207F58
monochromatic
#1D071B #4E1449 #7F2076 #B02CA3 #D148C4

Accessibility & contrast

On white

8.86
#7F2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7F2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2076
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2076#FFFFFF#000000##FFFFFF
##7F20761.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4178
Deuteranopia (green-blind)
#3F4F74
Tritanopia (blue-blind)
#852A49
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f2076;
/* rgb */ color: rgb(127, 32, 118);
/* oklch */ color: oklch(43.1% 0.162 332.2);
Tailwind
colors: {
  custom: {
    50: '#a7669e',
    500: '#7f2076',
    950: '#000000',
  },
}
SCSS
$custom: #7f2076;
$custom-light: #a7669e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2076",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 305.684,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43062,
    "c": 0.162,
    "h": 332.2
  },
  "luminance": 0.06853
}

Semantic roles & 50–950 ramp

primary
#7F2076
secondary
#49B253
accent
#E35445
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F2076

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

Preview Lab → · Contrast checker → · Palette generator →

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