#7D1B83#7D1B83

#7D1B83 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.177 H 325.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#7D1B83
RGBrgb(125, 27, 131)
HSLhsl(297, 66%, 31%)
HSVhsv(297, 79%, 51%)
CMYKcmyk(4.6%, 79.4%, 0%, 48.6%)
CIE-LABlab(31.31, 53.34, -35.96)
CIE-LCHlch(31.31, 64.33, 326.01°)
OKLaboklab(43.13% 0.1457 -0.1002)
OKLCHoklch(43.13% 0.177 325.5)
XYZxyz(12.9458, 6.7834, 22.0958)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B83 #21831B
analogous
#491B83 #7D1B83 #831B55
triadic
#7D1B83 #837D1B #1B837D
tetradic
#7D1B83 #83491B #21831B #1B5583
square
#7D1B83 #83491B #21831B #1B5583
split-complementary
#7D1B83 #55831B #1B8349
monochromatic
#1C061E #4D1150 #7D1B83 #AD25B6 #CF41D8

Accessibility & contrast

On white

8.91
#7D1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7D1B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B83
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B83#FFFFFF#000000##FFFFFF
##7D1B831.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#334E81
Tritanopia (blue-blind)
#802E4F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d1b83;
/* rgb */ color: rgb(125, 27, 131);
/* oklch */ color: oklch(43.1% 0.177 325.5);
Tailwind
colors: {
  custom: {
    50: '#a664a7',
    500: '#7d1b83',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b83;
$custom-light: #a664a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b83",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 296.538,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43125,
    "c": 0.1768,
    "h": 325.5
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#7D1B83
secondary
#4AB643
accent
#E93F49
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1B83

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

Preview Lab → · Contrast checker → · Palette generator →

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