#7F1077#7F1077

#7F1077 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.178 H 331.7°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#7F1077
RGBrgb(127, 16, 119)
HSLhsl(304, 78%, 28%)
HSVhsv(304, 87%, 50%)
CMYKcmyk(0%, 87.4%, 6.3%, 50.2%)
CIE-LABlab(29.95, 54.62, -30.55)
CIE-LCHlch(29.95, 62.58, 330.78°)
OKLaboklab(41.99% 0.1565 -0.0843)
OKLCHoklch(41.99% 0.178 331.7)
XYZxyz(12.2675, 6.2156, 18.0028)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1077 #107F18
analogous
#4F107F #7F1077 #7F1040
triadic
#7F1077 #777F10 #10777F
tetradic
#7F1077 #7F4F10 #107F18 #10407F
square
#7F1077 #7F4F10 #107F18 #10407F
split-complementary
#7F1077 #407F10 #107F4F
monochromatic
#1B0319 #490944 #7F1077 #B517AA #E426D6

Accessibility & contrast

On white

9.36
#7F1077 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1077
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1077#FFFFFF#000000##FFFFFF
##7F10771.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#394C75
Tritanopia (blue-blind)
#852146
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1077;
/* rgb */ color: rgb(127, 16, 119);
/* oklch */ color: oklch(42.0% 0.178 331.7);
Tailwind
colors: {
  custom: {
    50: '#a8609e',
    500: '#7f1077',
    950: '#000000',
  },
}
SCSS
$custom: #7f1077;
$custom-light: #a8609e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1077",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 119
  },
  "hsl": {
    "h": 304.324,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41993,
    "c": 0.17778,
    "h": 331.7
  },
  "luminance": 0.06215
}

Semantic roles & 50–950 ramp

primary
#7F1077
secondary
#36B53F
accent
#F44234
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1077

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

Preview Lab → · Contrast checker → · Palette generator →

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