#7F1681#7F1681

#7F1681 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.181 H 327.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7F1681
RGBrgb(127, 22, 129)
HSLhsl(299, 71%, 30%)
HSVhsv(299, 83%, 51%)
CMYKcmyk(1.6%, 82.9%, 0%, 49.4%)
CIE-LABlab(31.05, 54.83, -35.11)
CIE-LCHlch(31.05, 65.11, 327.37°)
OKLaboklab(42.97% 0.1521 -0.0976)
OKLCHoklch(42.97% 0.181 327.3)
XYZxyz(13.0016, 6.6718, 21.3676)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1681 #188116
analogous
#4A1681 #7F1681 #81164D
triadic
#7F1681 #817F16 #16817F
tetradic
#7F1681 #814A16 #188116 #164D81
square
#7F1681 #814A16 #188116 #164D81
split-complementary
#7F1681 #4D8116 #16814A
monochromatic
#1A041A #4C0D4D #7F1681 #B21FB5 #D935DD

Accessibility & contrast

On white

9.00
#7F1681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1681
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1681#FFFFFF#000000##FFFFFF
##7F16811.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#344E7F
Tritanopia (blue-blind)
#832A4D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f1681;
/* rgb */ color: rgb(127, 22, 129);
/* oklch */ color: oklch(43.0% 0.181 327.3);
Tailwind
colors: {
  custom: {
    50: '#a863a6',
    500: '#7f1681',
    950: '#000000',
  },
}
SCSS
$custom: #7f1681;
$custom-light: #a863a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1681",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 298.879,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42967,
    "c": 0.18067,
    "h": 327.3
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#7F1681
secondary
#3FB63D
accent
#EE3A3E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7F1681

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

Preview Lab → · Contrast checker → · Palette generator →

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