#7F1078#7F1078

#7F1078 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.1% C 0.179 H 331.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7F1078
RGBrgb(127, 16, 120)
HSLhsl(304, 78%, 28%)
HSVhsv(304, 87%, 50%)
CMYKcmyk(0%, 87.4%, 5.5%, 50.2%)
CIE-LABlab(30.01, 54.78, -31.09)
CIE-LCHlch(30.01, 62.99, 330.43°)
OKLaboklab(42.05% 0.1565 -0.0858)
OKLCHoklch(42.05% 0.179 331.3)
XYZxyz(12.3279, 6.2397, 18.3208)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1078 #107F17
analogous
#4E107F #7F1078 #7F1040
triadic
#7F1078 #787F10 #10787F
tetradic
#7F1078 #7F4E10 #107F17 #10407F
square
#7F1078 #7F4E10 #107F17 #10407F
split-complementary
#7F1078 #407F10 #107F4E
monochromatic
#1B031A #490945 #7F1078 #B517AB #E426D8

Accessibility & contrast

On white

9.34
#7F1078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7F1078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1078
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1078#FFFFFF#000000##FFFFFF
##7F10781.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#384C76
Tritanopia (blue-blind)
#842246
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1078;
/* rgb */ color: rgb(127, 16, 120);
/* oklch */ color: oklch(42.1% 0.179 331.3);
Tailwind
colors: {
  custom: {
    50: '#a8609f',
    500: '#7f1078',
    950: '#000000',
  },
}
SCSS
$custom: #7f1078;
$custom-light: #a8609f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1078",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 120
  },
  "hsl": {
    "h": 303.784,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.42054,
    "c": 0.17851,
    "h": 331.3
  },
  "luminance": 0.06239
}

Semantic roles & 50–950 ramp

primary
#7F1078
secondary
#36B53E
accent
#F44034
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1078

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

Preview Lab → · Contrast checker → · Palette generator →

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