#7F1E87#7F1E87

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

Color values

HEX#7F1E87
RGBrgb(127, 30, 135)
HSLhsl(295, 64%, 32%)
HSVhsv(295, 78%, 53%)
CMYKcmyk(5.9%, 77.8%, 0%, 47.1%)
CIE-LABlab(32.24, 53.53, -36.95)
CIE-LCHlch(32.24, 65.05, 325.38°)
OKLaboklab(43.93% 0.1451 -0.103)
OKLCHoklch(43.93% 0.178 324.6)
XYZxyz(13.5895, 7.1907, 23.5891)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E87 #26871E
analogous
#4B1E87 #7F1E87 #871E5A
triadic
#7F1E87 #877F1E #1E877F
tetradic
#7F1E87 #874B1E #26871E #1E5A87
square
#7F1E87 #874B1E #26871E #1E5A87
split-complementary
#7F1E87 #5A871E #1E874B
monochromatic
#210823 #501355 #7F1E87 #AE29B9 #CC49D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F1E87#FFFFFF#000000##FFFFFF
##7F1E871.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)
#00448A
Deuteranopia (green-blind)
#345085
Tritanopia (blue-blind)
#823152
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f1e87;
/* rgb */ color: rgb(127, 30, 135);
/* oklch */ color: oklch(43.9% 0.178 324.6);
Tailwind
colors: {
  custom: {
    50: '#a866aa',
    500: '#7f1e87',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e87;
$custom-light: #a866aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e87",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 295.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43933,
    "c": 0.17798,
    "h": 324.6
  },
  "luminance": 0.0719
}

Semantic roles & 50–950 ramp

primary
#7F1E87
secondary
#51B948
accent
#E7414E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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