#7F2E73#7F2E73

#7F2E73 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.4% C 0.141 H 333.9°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7F2E73
RGBrgb(127, 46, 115)
HSLhsl(309, 47%, 34%)
HSVhsv(309, 64%, 50%)
CMYKcmyk(0%, 63.8%, 9.4%, 50.2%)
CIE-LABlab(33.36, 43.69, -22.65)
CIE-LCHlch(33.36, 49.21, 332.60°)
OKLaboklab(44.38% 0.1263 -0.0618)
OKLCHoklch(44.38% 0.141 333.9)
XYZxyz(12.8240, 7.7048, 17.0281)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E73 #2E7F3A
analogous
#632E7F #7F2E73 #7F2E4B
triadic
#7F2E73 #737F2E #2E737F
tetradic
#7F2E73 #7F632E #2E7F3A #2E4B7F
square
#7F2E73 #7F632E #2E7F3A #2E4B7F
split-complementary
#7F2E73 #4B7F2E #2E7F63
monochromatic
#250D22 #521E4A #7F2E73 #AC3E9C #C661B7

Accessibility & contrast

On white

8.27
#7F2E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7F2E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2E73
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E73#FFFFFF#000000##FFFFFF
##7F2E731.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4775
Deuteranopia (green-blind)
#475371
Tritanopia (blue-blind)
#85344C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f2e73;
/* rgb */ color: rgb(127, 46, 115);
/* oklch */ color: oklch(44.4% 0.141 333.9);
Tailwind
colors: {
  custom: {
    50: '#a76c9b',
    500: '#7f2e73',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e73;
$custom-light: #a76c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e73",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 308.889,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4438,
    "c": 0.1406,
    "h": 333.9
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#7F2E73
secondary
#5CAD68
accent
#D66551
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7F2E73

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

Preview Lab → · Contrast checker → · Palette generator →

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