#7D1F84#7D1F84

#7D1F84 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.173 H 325.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7D1F84
RGBrgb(125, 31, 132)
HSLhsl(296, 62%, 32%)
HSVhsv(296, 77%, 52%)
CMYKcmyk(5.3%, 76.5%, 0%, 48.2%)
CIE-LABlab(31.82, 52.22, -35.77)
CIE-LCHlch(31.82, 63.30, 325.59°)
OKLaboklab(43.51% 0.142 -0.0996)
OKLCHoklch(43.51% 0.173 325)
XYZxyz(13.1120, 7.0067, 22.4871)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F84 #26841F
analogous
#4B1F84 #7D1F84 #841F58
triadic
#7D1F84 #847D1F #1F847D
tetradic
#7D1F84 #844B1F #26841F #1F5884
square
#7D1F84 #844B1F #26841F #1F5884
split-complementary
#7D1F84 #58841F #1F844B
monochromatic
#1F0821 #4E1352 #7D1F84 #AC2BB6 #CB49D4

Accessibility & contrast

On white

8.75
#7D1F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7D1F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F84
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F84#FFFFFF#000000##FFFFFF
##7D1F841.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#344F82
Tritanopia (blue-blind)
#803150
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d1f84;
/* rgb */ color: rgb(125, 31, 132);
/* oklch */ color: oklch(43.5% 0.173 325.0);
Tailwind
colors: {
  custom: {
    50: '#a666a8',
    500: '#7d1f84',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f84;
$custom-light: #a666a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f84",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 295.842,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4351,
    "c": 0.17349,
    "h": 325
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#7D1F84
secondary
#50B748
accent
#E5434E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1F84

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

Preview Lab → · Contrast checker → · Palette generator →

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