#7F2D77#7F2D77

#7F2D77 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.145 H 331.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7F2D77
RGBrgb(127, 45, 119)
HSLhsl(306, 48%, 34%)
HSVhsv(306, 65%, 50%)
CMYKcmyk(0%, 64.6%, 6.3%, 50.2%)
CIE-LABlab(33.40, 44.84, -25.11)
CIE-LCHlch(33.40, 51.39, 330.75°)
OKLaboklab(44.47% 0.1282 -0.0688)
OKLCHoklch(44.47% 0.145 331.8)
XYZxyz(13.0205, 7.7217, 18.2538)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D77 #2D7F35
analogous
#5E2D7F #7F2D77 #7F2D4E
triadic
#7F2D77 #777F2D #2D777F
tetradic
#7F2D77 #7F5E2D #2D7F35 #2D4E7F
square
#7F2D77 #7F5E2D #2D7F35 #2D4E7F
split-complementary
#7F2D77 #4E7F2D #2D7F5E
monochromatic
#250D22 #521D4D #7F2D77 #AC3DA1 #C760BD

Accessibility & contrast

On white

8.25
#7F2D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2D77
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D77#FFFFFF#000000##FFFFFF
##7F2D771.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294779
Deuteranopia (green-blind)
#445375
Tritanopia (blue-blind)
#84354E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7f2d77;
/* rgb */ color: rgb(127, 45, 119);
/* oklch */ color: oklch(44.5% 0.145 331.8);
Tailwind
colors: {
  custom: {
    50: '#a76c9e',
    500: '#7f2d77',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d77;
$custom-light: #a76c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d77",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 305.854,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44472,
    "c": 0.14547,
    "h": 331.8
  },
  "luminance": 0.07721
}

Semantic roles & 50–950 ramp

primary
#7F2D77
secondary
#5BAD63
accent
#D75E51
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7F2D77

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

Preview Lab → · Contrast checker → · Palette generator →

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