#7F1676#7F1676

#7F1676 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.172 H 332.2°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7F1676
RGBrgb(127, 22, 118)
HSLhsl(305, 70%, 29%)
HSVhsv(305, 83%, 50%)
CMYKcmyk(0%, 82.7%, 7.1%, 50.2%)
CIE-LABlab(30.39, 53.02, -29.22)
CIE-LCHlch(30.39, 60.54, 331.14°)
OKLaboklab(42.29% 0.1523 -0.0805)
OKLCHoklch(42.29% 0.172 332.2)
XYZxyz(12.3094, 6.3949, 17.7221)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1676 #167F1F
analogous
#54167F #7F1676 #7F1642
triadic
#7F1676 #767F16 #16767F
tetradic
#7F1676 #7F5416 #167F1F #16427F
square
#7F1676 #7F5416 #167F1F #16427F
split-complementary
#7F1676 #427F16 #167F54
monochromatic
#1A0518 #4B0D46 #7F1676 #B31FA6 #DC34CD

Accessibility & contrast

On white

9.22
#7F1676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7F1676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1676
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1676#FFFFFF#000000##FFFFFF
##7F16761.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3E78
Deuteranopia (green-blind)
#3B4D74
Tritanopia (blue-blind)
#852446
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f1676;
/* rgb */ color: rgb(127, 22, 118);
/* oklch */ color: oklch(42.3% 0.172 332.2);
Tailwind
colors: {
  custom: {
    50: '#a8629e',
    500: '#7f1676',
    950: '#000000',
  },
}
SCSS
$custom: #7f1676;
$custom-light: #a8629e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1676",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 305.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42286,
    "c": 0.17229,
    "h": 332.2
  },
  "luminance": 0.06394
}

Semantic roles & 50–950 ramp

primary
#7F1676
secondary
#3DB447
accent
#ED4A3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1676

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

Preview Lab → · Contrast checker → · Palette generator →

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