#7D1E83#7D1E83

#7D1E83 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.174 H 325.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#7D1E83
RGBrgb(125, 30, 131)
HSLhsl(296, 63%, 32%)
HSVhsv(296, 77%, 51%)
CMYKcmyk(4.6%, 77.1%, 0%, 48.6%)
CIE-LABlab(31.64, 52.38, -35.43)
CIE-LCHlch(31.64, 63.24, 325.93°)
OKLaboklab(43.36% 0.143 -0.0986)
OKLCHoklch(43.36% 0.174 325.4)
XYZxyz(13.0182, 6.9281, 22.1199)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E83 #24831E
analogous
#4B1E83 #7D1E83 #831E57
triadic
#7D1E83 #837D1E #1E837D
tetradic
#7D1E83 #834B1E #24831E #1E5783
square
#7D1E83 #834B1E #24831E #1E5783
split-complementary
#7D1E83 #57831E #1E834B
monochromatic
#1E071F #4D1351 #7D1E83 #AD29B5 #CC47D5

Accessibility & contrast

On white

8.80
#7D1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7D1E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E83
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E83#FFFFFF#000000##FFFFFF
##7D1E831.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#344E81
Tritanopia (blue-blind)
#80304F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d1e83;
/* rgb */ color: rgb(125, 30, 131);
/* oklch */ color: oklch(43.4% 0.174 325.4);
Tailwind
colors: {
  custom: {
    50: '#a665a7',
    500: '#7d1e83',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e83;
$custom-light: #a665a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e83",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 296.436,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43362,
    "c": 0.17373,
    "h": 325.4
  },
  "luminance": 0.06927
}

Semantic roles & 50–950 ramp

primary
#7D1E83
secondary
#4DB647
accent
#E6424C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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