#7F1C86#7F1C86

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

Color values

HEX#7F1C86
RGBrgb(127, 28, 134)
HSLhsl(296, 65%, 32%)
HSVhsv(296, 79%, 53%)
CMYKcmyk(5.2%, 79.1%, 0%, 47.5%)
CIE-LABlab(31.95, 53.99, -36.78)
CIE-LCHlch(31.95, 65.33, 325.73°)
OKLaboklab(43.71% 0.147 -0.1025)
OKLCHoklch(43.71% 0.179 325.1)
XYZxyz(13.4704, 7.0647, 23.2038)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1C86 #23861C
analogous
#4A1C86 #7F1C86 #861C58
triadic
#7F1C86 #867F1C #1C867F
tetradic
#7F1C86 #864A1C #23861C #1C5886
square
#7F1C86 #864A1C #23861C #1C5886
split-complementary
#7F1C86 #58861C #1C864A
monochromatic
#1F0721 #4F1153 #7F1C86 #AF27B9 #CE44D8

Accessibility & contrast

On white

8.70
#7F1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7F1C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1C86
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1C86#FFFFFF#000000##FFFFFF
##7F1C861.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1c86;
/* rgb */ color: rgb(127, 28, 134);
/* oklch */ color: oklch(43.7% 0.179 325.1);
Tailwind
colors: {
  custom: {
    50: '#a865aa',
    500: '#7f1c86',
    950: '#000000',
  },
}
SCSS
$custom: #7f1c86;
$custom-light: #a865aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1c86",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 296.038,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43711,
    "c": 0.17917,
    "h": 325.1
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#7F1C86
secondary
#4CB945
accent
#E83F4B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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