#7F1D86#7F1D86

#7F1D86 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.178 H 325.1°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#7F1D86
RGBrgb(127, 29, 134)
HSLhsl(296, 64%, 32%)
HSVhsv(296, 78%, 53%)
CMYKcmyk(5.2%, 78.4%, 0%, 47.5%)
CIE-LABlab(32.06, 53.67, -36.61)
CIE-LCHlch(32.06, 64.97, 325.70°)
OKLaboklab(43.79% 0.1461 -0.102)
OKLCHoklch(43.79% 0.178 325.1)
XYZxyz(13.4945, 7.1129, 23.2118)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D86 #24861D
analogous
#4B1D86 #7F1D86 #861D59
triadic
#7F1D86 #867F1D #1D867F
tetradic
#7F1D86 #864B1D #24861D #1D5986
square
#7F1D86 #864B1D #24861D #1D5986
split-complementary
#7F1D86 #59861D #1D864B
monochromatic
#200721 #4F1254 #7F1D86 #AF28B8 #CD46D7

Accessibility & contrast

On white

8.67
#7F1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7F1D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D86
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D86#FFFFFF#000000##FFFFFF
##7F1D861.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#344F84
Tritanopia (blue-blind)
#823051
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f1d86;
/* rgb */ color: rgb(127, 29, 134);
/* oklch */ color: oklch(43.8% 0.178 325.1);
Tailwind
colors: {
  custom: {
    50: '#a865aa',
    500: '#7f1d86',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d86;
$custom-light: #a865aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d86",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 296,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43788,
    "c": 0.17817,
    "h": 325.1
  },
  "luminance": 0.07112
}

Semantic roles & 50–950 ramp

primary
#7F1D86
secondary
#4EB946
accent
#E7404C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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