#7F1E86#7F1E86

#7F1E86 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.177 H 325.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#7F1E86
RGBrgb(127, 30, 134)
HSLhsl(296, 63%, 32%)
HSVhsv(296, 78%, 53%)
CMYKcmyk(5.2%, 77.6%, 0%, 47.5%)
CIE-LABlab(32.17, 53.35, -36.43)
CIE-LCHlch(32.17, 64.60, 325.67°)
OKLaboklab(43.87% 0.1452 -0.1015)
OKLCHoklch(43.87% 0.177 325)
XYZxyz(13.5194, 7.1627, 23.2201)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E86 #25861E
analogous
#4B1E86 #7F1E86 #861E59
triadic
#7F1E86 #867F1E #1E867F
tetradic
#7F1E86 #864B1E #25861E #1E5986
square
#7F1E86 #864B1E #25861E #1E5986
split-complementary
#7F1E86 #59861E #1E864B
monochromatic
#200822 #501354 #7F1E86 #AE29B8 #CD48D6

Accessibility & contrast

On white

8.63
#7F1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7F1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E86
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E86#FFFFFF#000000##FFFFFF
##7F1E861.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#345084
Tritanopia (blue-blind)
#823151
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f1e86;
/* rgb */ color: rgb(127, 30, 134);
/* oklch */ color: oklch(43.9% 0.177 325.0);
Tailwind
colors: {
  custom: {
    50: '#a866aa',
    500: '#7f1e86',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e86;
$custom-light: #a866aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e86",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 295.962,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43868,
    "c": 0.17715,
    "h": 325
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#7F1E86
secondary
#4FB847
accent
#E6414C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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