#7D1D83#7D1D83

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

Color values

HEX#7D1D83
RGBrgb(125, 29, 131)
HSLhsl(296, 64%, 31%)
HSVhsv(296, 78%, 51%)
CMYKcmyk(4.6%, 77.9%, 0%, 48.6%)
CIE-LABlab(31.53, 52.71, -35.61)
CIE-LCHlch(31.53, 63.61, 325.95°)
OKLaboklab(43.28% 0.1439 -0.0992)
OKLCHoklch(43.28% 0.175 325.4)
XYZxyz(12.9933, 6.8783, 22.1116)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D83 #23831D
analogous
#4A1D83 #7D1D83 #831D56
triadic
#7D1D83 #837D1D #1D837D
tetradic
#7D1D83 #834A1D #23831D #1D5683
square
#7D1D83 #834A1D #23831D #1D5683
split-complementary
#7D1D83 #56831D #1D834A
monochromatic
#1D071F #4D1251 #7D1D83 #AD28B5 #CD45D6

Accessibility & contrast

On white

8.84
#7D1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7D1D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D83
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D83#FFFFFF#000000##FFFFFF
##7D1D831.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1d83;
/* rgb */ color: rgb(125, 29, 131);
/* oklch */ color: oklch(43.3% 0.175 325.4);
Tailwind
colors: {
  custom: {
    50: '#a665a7',
    500: '#7d1d83',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d83;
$custom-light: #a665a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d83",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 296.471,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43281,
    "c": 0.17479,
    "h": 325.4
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

primary
#7D1D83
secondary
#4CB646
accent
#E7414B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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