#7F1E8F#7F1E8F

#7F1E8F is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.185 H 321.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7F1E8F
RGBrgb(127, 30, 143)
HSLhsl(292, 65%, 34%)
HSVhsv(292, 79%, 56%)
CMYKcmyk(11.2%, 79%, 0%, 43.9%)
CIE-LABlab(32.75, 55.00, -41.07)
CIE-LCHlch(32.75, 68.64, 323.25°)
OKLaboklab(44.47% 0.1445 -0.1151)
OKLCHoklch(44.47% 0.185 321.5)
XYZxyz(14.1740, 7.4245, 26.6678)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E8F #2E8F1E
analogous
#471E8F #7F1E8F #8F1E67
triadic
#7F1E8F #8F7F1E #1E8F7F
tetradic
#7F1E8F #8F471E #2E8F1E #1E678F
square
#7F1E8F #8F471E #2E8F1E #1E678F
split-complementary
#7F1E8F #678F1E #1E8F47
monochromatic
#25092A #52135C #7F1E8F #AC29C2 #C64EDA

Accessibility & contrast

On white

8.45
#7F1E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7F1E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E8F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E8F#FFFFFF#000000##FFFFFF
##7F1E8F1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#2D508C
Tritanopia (blue-blind)
#803556
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f1e8f;
/* rgb */ color: rgb(127, 30, 143);
/* oklch */ color: oklch(44.5% 0.185 321.5);
Tailwind
colors: {
  custom: {
    50: '#a866b0',
    500: '#7f1e8f',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e8f;
$custom-light: #a866b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e8f",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 291.504,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44465,
    "c": 0.18467,
    "h": 321.5
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#7F1E8F
secondary
#5CBC4C
accent
#E84057
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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