#7F1081#7F1081

#7F1081 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.185 H 327.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#7F1081
RGBrgb(127, 16, 129)
HSLhsl(299, 78%, 28%)
HSVhsv(299, 88%, 51%)
CMYKcmyk(1.6%, 87.6%, 0%, 49.4%)
CIE-LABlab(30.57, 56.24, -35.88)
CIE-LCHlch(30.57, 66.71, 327.46°)
OKLaboklab(42.63% 0.156 -0.0998)
OKLCHoklch(42.63% 0.185 327.4)
XYZxyz(12.8999, 6.4686, 21.3337)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1081 #128110
analogous
#461081 #7F1081 #81104A
triadic
#7F1081 #817F10 #10817F
tetradic
#7F1081 #814610 #128110 #104A81
square
#7F1081 #814610 #128110 #104A81
split-complementary
#7F1081 #4A8110 #108146
monochromatic
#1B031B #49094B #7F1081 #B517B7 #E127E4

Accessibility & contrast

On white

9.16
#7F1081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7F1081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1081
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1081#FFFFFF#000000##FFFFFF
##7F10811.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#324D7E
Tritanopia (blue-blind)
#83274B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f1081;
/* rgb */ color: rgb(127, 16, 129);
/* oklch */ color: oklch(42.6% 0.185 327.4);
Tailwind
colors: {
  custom: {
    50: '#a861a6',
    500: '#7f1081',
    950: '#000000',
  },
}
SCSS
$custom: #7f1081;
$custom-light: #a861a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1081",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 298.938,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42626,
    "c": 0.18519,
    "h": 327.4
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#7F1081
secondary
#38B736
accent
#F43337
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7F1081

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

Preview Lab → · Contrast checker → · Palette generator →

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