#7F0E72#7F0E72

#7F0E72 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.176 H 334.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#7F0E72
RGBrgb(127, 14, 114)
HSLhsl(307, 80%, 28%)
HSVhsv(307, 89%, 50%)
CMYKcmyk(0%, 89%, 10.2%, 50.2%)
CIE-LABlab(29.52, 54.26, -28.05)
CIE-LCHlch(29.52, 61.08, 332.67°)
OKLaboklab(41.59% 0.1578 -0.077)
OKLCHoklch(41.59% 0.176 334)
XYZxyz(11.9468, 6.0421, 16.4534)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F0E72 #0E7F1B
analogous
#540E7F #7F0E72 #7F0E39
triadic
#7F0E72 #727F0E #0E727F
tetradic
#7F0E72 #7F540E #0E7F1B #0E397F
square
#7F0E72 #7F540E #0E7F1B #0E397F
split-complementary
#7F0E72 #397F0E #0E7F54
monochromatic
#1C0319 #480841 #7F0E72 #B614A3 #E721D0

Accessibility & contrast

On white

9.51
#7F0E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F0E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F0E72
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F0E72#FFFFFF#000000##FFFFFF
##7F0E721.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083B74
Deuteranopia (green-blind)
#3B4B70
Tritanopia (blue-blind)
#851D42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f0e72;
/* rgb */ color: rgb(127, 14, 114);
/* oklch */ color: oklch(41.6% 0.176 334.0);
Tailwind
colors: {
  custom: {
    50: '#a8609b',
    500: '#7f0e72',
    950: '#000000',
  },
}
SCSS
$custom: #7f0e72;
$custom-light: #a8609b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f0e72",
  "rgb": {
    "r": 127,
    "g": 14,
    "b": 114
  },
  "hsl": {
    "h": 306.903,
    "s": 80.142,
    "l": 27.647
  },
  "oklch": {
    "l": 0.41593,
    "c": 0.17556,
    "h": 334
  },
  "luminance": 0.06041
}

Semantic roles & 50–950 ramp

primary
#7F0E72
secondary
#33B642
accent
#F74831
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7F0E72

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

Preview Lab → · Contrast checker → · Palette generator →

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