#7F1680#7F1680

#7F1680 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.9% C 0.180 H 327.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#7F1680
RGBrgb(127, 22, 128)
HSLhsl(299, 71%, 29%)
HSVhsv(299, 83%, 50%)
CMYKcmyk(0.8%, 82.8%, 0%, 49.8%)
CIE-LABlab(30.99, 54.66, -34.58)
CIE-LCHlch(30.99, 64.68, 327.68°)
OKLaboklab(42.9% 0.1521 -0.096)
OKLCHoklch(42.9% 0.18 327.7)
XYZxyz(12.9354, 6.6453, 21.0193)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1680 #178016
analogous
#4A1680 #7F1680 #80164C
triadic
#7F1680 #807F16 #16807F
tetradic
#7F1680 #804A16 #178016 #164C80
square
#7F1680 #804A16 #178016 #164C80
split-complementary
#7F1680 #4C8016 #16804A
monochromatic
#1A041A #4B0D4C #7F1680 #B31FB4 #DB34DC

Accessibility & contrast

On white

9.02
#7F1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7F1680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1680
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1680#FFFFFF#000000##FFFFFF
##7F16801.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#354D7E
Tritanopia (blue-blind)
#832A4C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f1680;
/* rgb */ color: rgb(127, 22, 128);
/* oklch */ color: oklch(42.9% 0.180 327.7);
Tailwind
colors: {
  custom: {
    50: '#a863a5',
    500: '#7f1680',
    950: '#000000',
  },
}
SCSS
$custom: #7f1680;
$custom-light: #a863a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1680",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 299.434,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42903,
    "c": 0.17989,
    "h": 327.7
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#7F1680
secondary
#3EB53D
accent
#ED3A3C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7F1680

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

Preview Lab → · Contrast checker → · Palette generator →

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