#7F1076#7F1076

#7F1076 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.177 H 332.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7F1076
RGBrgb(127, 16, 118)
HSLhsl(305, 78%, 28%)
HSVhsv(305, 87%, 50%)
CMYKcmyk(0%, 87.4%, 7.1%, 50.2%)
CIE-LABlab(29.89, 54.47, -30.01)
CIE-LCHlch(29.89, 62.18, 331.15°)
OKLaboklab(41.93% 0.1566 -0.0827)
OKLCHoklch(41.93% 0.177 332.1)
XYZxyz(12.2078, 6.1917, 17.6882)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1076 #107F19
analogous
#50107F #7F1076 #7F103E
triadic
#7F1076 #767F10 #10767F
tetradic
#7F1076 #7F5010 #107F19 #103E7F
square
#7F1076 #7F5010 #107F19 #103E7F
split-complementary
#7F1076 #3E7F10 #107F50
monochromatic
#1B0319 #490943 #7F1076 #B517A8 #E426D4

Accessibility & contrast

On white

9.38
#7F1076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7F1076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1076
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1076#FFFFFF#000000##FFFFFF
##7F10761.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023D79
Deuteranopia (green-blind)
#394C74
Tritanopia (blue-blind)
#852145
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1076;
/* rgb */ color: rgb(127, 16, 118);
/* oklch */ color: oklch(41.9% 0.177 332.1);
Tailwind
colors: {
  custom: {
    50: '#a8609e',
    500: '#7f1076',
    950: '#000000',
  },
}
SCSS
$custom: #7f1076;
$custom-light: #a8609e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1076",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 304.865,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41932,
    "c": 0.17706,
    "h": 332.1
  },
  "luminance": 0.06191
}

Semantic roles & 50–950 ramp

primary
#7F1076
secondary
#36B540
accent
#F44334
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1076

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

Preview Lab → · Contrast checker → · Palette generator →

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