#7F1D89#7F1D89

#7F1D89 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.181 H 323.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#7F1D89
RGBrgb(127, 29, 137)
HSLhsl(294, 65%, 33%)
HSVhsv(294, 79%, 54%)
CMYKcmyk(7.3%, 78.8%, 0%, 46.3%)
CIE-LABlab(32.25, 54.21, -38.17)
CIE-LCHlch(32.25, 66.30, 324.85°)
OKLaboklab(43.98% 0.1459 -0.1066)
OKLCHoklch(43.98% 0.181 323.9)
XYZxyz(13.7067, 7.1978, 24.3294)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D89 #27891D
analogous
#491D89 #7F1D89 #891D5D
triadic
#7F1D89 #897F1D #1D897F
tetradic
#7F1D89 #89491D #27891D #1D5D89
square
#7F1D89 #89491D #27891D #1D5D89
split-complementary
#7F1D89 #5D891D #1D8949
monochromatic
#210824 #501256 #7F1D89 #AE28BC #CB48D8

Accessibility & contrast

On white

8.61
#7F1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7F1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D89
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D89#FFFFFF#000000##FFFFFF
##7F1D891.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#325087
Tritanopia (blue-blind)
#813253
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f1d89;
/* rgb */ color: rgb(127, 29, 137);
/* oklch */ color: oklch(44.0% 0.181 323.9);
Tailwind
colors: {
  custom: {
    50: '#a865ac',
    500: '#7f1d89',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d89;
$custom-light: #a865ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d89",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 294.444,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43984,
    "c": 0.18065,
    "h": 323.9
  },
  "luminance": 0.07197
}

Semantic roles & 50–950 ramp

primary
#7F1D89
secondary
#52BA47
accent
#E8404F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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