#7F1984#7F1984

#7F1984 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.180 H 326.0°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7F1984
RGBrgb(127, 25, 132)
HSLhsl(297, 68%, 31%)
HSVhsv(297, 81%, 52%)
CMYKcmyk(3.8%, 81.1%, 0%, 48.2%)
CIE-LABlab(31.52, 54.53, -36.23)
CIE-LCHlch(31.52, 65.47, 326.40°)
OKLaboklab(43.36% 0.1496 -0.1009)
OKLCHoklch(43.36% 0.18 326)
XYZxyz(13.2646, 6.8742, 22.4535)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1984 #1E8419
analogous
#491984 #7F1984 #841953
triadic
#7F1984 #847F19 #19847F
tetradic
#7F1984 #844919 #1E8419 #195384
square
#7F1984 #844919 #1E8419 #195384
split-complementary
#7F1984 #538419 #198449
monochromatic
#1C061D #4D0F51 #7F1984 #B123B7 #D33DDA

Accessibility & contrast

On white

8.84
#7F1984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7F1984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1984
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1984#FFFFFF#000000##FFFFFF
##7F19841.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#344E82
Tritanopia (blue-blind)
#822D4F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f1984;
/* rgb */ color: rgb(127, 25, 132);
/* oklch */ color: oklch(43.4% 0.180 326.0);
Tailwind
colors: {
  custom: {
    50: '#a864a8',
    500: '#7f1984',
    950: '#000000',
  },
}
SCSS
$custom: #7f1984;
$custom-light: #a864a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1984",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 297.196,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43362,
    "c": 0.18041,
    "h": 326
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#7F1984
secondary
#47B841
accent
#EB3D45
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1984

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

Preview Lab → · Contrast checker → · Palette generator →

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