#7D1E8A#7D1E8A

#7D1E8A is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.180 H 322.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7D1E8A
RGBrgb(125, 30, 138)
HSLhsl(293, 64%, 33%)
HSVhsv(293, 78%, 54%)
CMYKcmyk(9.4%, 78.3%, 0%, 45.9%)
CIE-LABlab(32.09, 53.66, -39.07)
CIE-LCHlch(32.09, 66.37, 323.94°)
OKLaboklab(43.82% 0.1425 -0.1093)
OKLCHoklch(43.82% 0.18 322.5)
XYZxyz(13.5087, 7.1243, 24.7034)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E8A #2B8A1E
analogous
#471E8A #7D1E8A #8A1E61
triadic
#7D1E8A #8A7D1E #1E8A7D
tetradic
#7D1E8A #8A471E #2B8A1E #1E618A
square
#7D1E8A #8A471E #2B8A1E #1E618A
split-complementary
#7D1E8A #618A1E #1E8A47
monochromatic
#220825 #4F1358 #7D1E8A #AB29BC #C74BD8

Accessibility & contrast

On white

8.66
#7D1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7D1E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E8A
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E8A#FFFFFF#000000##FFFFFF
##7D1E8A1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#2F4F88
Tritanopia (blue-blind)
#7F3353
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d1e8a;
/* rgb */ color: rgb(125, 30, 138);
/* oklch */ color: oklch(43.8% 0.180 322.5);
Tailwind
colors: {
  custom: {
    50: '#a666ad',
    500: '#7d1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e8a;
$custom-light: #a666ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e8a",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 292.778,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43822,
    "c": 0.1796,
    "h": 322.5
  },
  "luminance": 0.07123
}

Semantic roles & 50–950 ramp

primary
#7D1E8A
secondary
#57BA4A
accent
#E74155
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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