#7D1E77#7D1E77

#7D1E77 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.164 H 330.8°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#7D1E77
RGBrgb(125, 30, 119)
HSLhsl(304, 61%, 30%)
HSVhsv(304, 76%, 49%)
CMYKcmyk(0%, 76%, 4.8%, 51%)
CIE-LABlab(30.93, 50.29, -29.02)
CIE-LCHlch(30.93, 58.07, 330.01°)
OKLaboklab(42.62% 0.1431 -0.08)
OKLCHoklch(42.62% 0.164 330.8)
XYZxyz(12.2515, 6.6214, 18.0820)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E77 #1E7D24
analogous
#531E7D #7D1E77 #7D1E48
triadic
#7D1E77 #777D1E #1E777D
tetradic
#7D1E77 #7D531E #1E7D24 #1E487D
square
#7D1E77 #7D531E #1E7D24 #1E487D
split-complementary
#7D1E77 #487D1E #1E7D53
monochromatic
#1A0619 #4C1248 #7D1E77 #AE2AA6 #D243C9

Accessibility & contrast

On white

9.04
#7D1E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7D1E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E77
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E77#FFFFFF#000000##FFFFFF
##7D1E771.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144079
Deuteranopia (green-blind)
#3B4D75
Tritanopia (blue-blind)
#822A49
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d1e77;
/* rgb */ color: rgb(125, 30, 119);
/* oklch */ color: oklch(42.6% 0.164 330.8);
Tailwind
colors: {
  custom: {
    50: '#a6659e',
    500: '#7d1e77',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e77;
$custom-light: #a6659e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e77",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 303.789,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42622,
    "c": 0.16398,
    "h": 330.8
  },
  "luminance": 0.0662
}

Semantic roles & 50–950 ramp

primary
#7D1E77
secondary
#46B04D
accent
#E44E43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1E77

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

Preview Lab → · Contrast checker → · Palette generator →

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