#7F1A86#7F1A86

#7F1A86 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.181 H 325.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#7F1A86
RGBrgb(127, 26, 134)
HSLhsl(296, 68%, 31%)
HSVhsv(296, 81%, 53%)
CMYKcmyk(5.2%, 80.6%, 0%, 47.5%)
CIE-LABlab(31.75, 54.59, -37.12)
CIE-LCHlch(31.75, 66.01, 325.79°)
OKLaboklab(43.56% 0.1486 -0.1035)
OKLCHoklch(43.56% 0.181 325.2)
XYZxyz(13.4245, 6.9729, 23.1885)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A86 #21861A
analogous
#491A86 #7F1A86 #861A57
triadic
#7F1A86 #867F1A #1A867F
tetradic
#7F1A86 #86491A #21861A #1A5786
square
#7F1A86 #86491A #21861A #1A5786
split-complementary
#7F1A86 #57861A #1A8649
monochromatic
#1E061F #4E1053 #7F1A86 #B024B9 #D040DA

Accessibility & contrast

On white

8.77
#7F1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7F1A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1A86
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1A86#FFFFFF#000000##FFFFFF
##7F1A861.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#334F84
Tritanopia (blue-blind)
#822F50
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f1a86;
/* rgb */ color: rgb(127, 26, 134);
/* oklch */ color: oklch(43.6% 0.181 325.2);
Tailwind
colors: {
  custom: {
    50: '#a864aa',
    500: '#7f1a86',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a86;
$custom-light: #a864aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a86",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 296.111,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43563,
    "c": 0.18109,
    "h": 325.2
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#7F1A86
secondary
#4AB942
accent
#EA3D49
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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