#7F0E71#7F0E71

#7F0E71 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.175 H 334.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7F0E71
RGBrgb(127, 14, 113)
HSLhsl(307, 80%, 28%)
HSVhsv(307, 89%, 50%)
CMYKcmyk(0%, 89%, 11%, 50.2%)
CIE-LABlab(29.46, 54.11, -27.50)
CIE-LCHlch(29.46, 60.70, 333.06°)
OKLaboklab(41.53% 0.1577 -0.0755)
OKLCHoklch(41.53% 0.175 334.4)
XYZxyz(11.8902, 6.0195, 16.1552)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F0E71 #0E7F1C
analogous
#550E7F #7F0E71 #7F0E38
triadic
#7F0E71 #717F0E #0E717F
tetradic
#7F0E71 #7F550E #0E7F1C #0E387F
square
#7F0E71 #7F550E #0E7F1C #0E387F
split-complementary
#7F0E71 #387F0E #0E7F55
monochromatic
#1C0319 #480840 #7F0E71 #B614A2 #E721CE

Accessibility & contrast

On white

9.53
#7F0E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F0E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F0E71
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F0E71#FFFFFF#000000##FFFFFF
##7F0E711.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3B73
Deuteranopia (green-blind)
#3B4B6F
Tritanopia (blue-blind)
#861C42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f0e71;
/* rgb */ color: rgb(127, 14, 113);
/* oklch */ color: oklch(41.5% 0.175 334.4);
Tailwind
colors: {
  custom: {
    50: '#a8609a',
    500: '#7f0e71',
    950: '#000000',
  },
}
SCSS
$custom: #7f0e71;
$custom-light: #a8609a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f0e71",
  "rgb": {
    "r": 127,
    "g": 14,
    "b": 113
  },
  "hsl": {
    "h": 307.434,
    "s": 80.142,
    "l": 27.647
  },
  "oklch": {
    "l": 0.41534,
    "c": 0.17486,
    "h": 334.4
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#7F0E71
secondary
#33B643
accent
#F74A31
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7F0E71

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

Preview Lab → · Contrast checker → · Palette generator →

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