#7D1A83#7D1A83

#7D1A83 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.178 H 325.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7D1A83
RGBrgb(125, 26, 131)
HSLhsl(297, 67%, 31%)
HSVhsv(297, 80%, 51%)
CMYKcmyk(4.6%, 80.2%, 0%, 48.6%)
CIE-LABlab(31.20, 53.64, -36.13)
CIE-LCHlch(31.20, 64.68, 326.04°)
OKLaboklab(43.05% 0.1465 -0.1006)
OKLCHoklch(43.05% 0.178 325.5)
XYZxyz(12.9233, 6.7383, 22.0883)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A83 #20831A
analogous
#481A83 #7D1A83 #831A54
triadic
#7D1A83 #837D1A #1A837D
tetradic
#7D1A83 #83481A #20831A #1A5483
square
#7D1A83 #83481A #20831A #1A5483
split-complementary
#7D1A83 #54831A #1A8348
monochromatic
#1C061D #4C1050 #7D1A83 #AE24B6 #D03FD9

Accessibility & contrast

On white

8.95
#7D1A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7D1A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A83
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A83#FFFFFF#000000##FFFFFF
##7D1A831.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#324D81
Tritanopia (blue-blind)
#802E4E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d1a83;
/* rgb */ color: rgb(125, 26, 131);
/* oklch */ color: oklch(43.0% 0.178 325.5);
Tailwind
colors: {
  custom: {
    50: '#a664a7',
    500: '#7d1a83',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a83;
$custom-light: #a664a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a83",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 296.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4305,
    "c": 0.17777,
    "h": 325.5
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

primary
#7D1A83
secondary
#49B742
accent
#EA3E48
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1A83

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

Preview Lab → · Contrast checker → · Palette generator →

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