#7D1C96#7D1C96

#7D1C96 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.192 H 318.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7D1C96
RGBrgb(125, 28, 150)
HSLhsl(288, 69%, 35%)
HSVhsv(288, 81%, 59%)
CMYKcmyk(16.7%, 81.3%, 0%, 41.2%)
CIE-LABlab(32.69, 56.55, -45.50)
CIE-LCHlch(32.69, 72.59, 321.18°)
OKLaboklab(44.5% 0.1427 -0.1281)
OKLCHoklch(44.5% 0.192 318.1)
XYZxyz(14.3769, 7.3932, 29.5180)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C96 #35961C
analogous
#401C96 #7D1C96 #961C72
triadic
#7D1C96 #967D1C #1C967D
tetradic
#7D1C96 #96401C #35961C #1C7296
square
#7D1C96 #96401C #35961C #1C7296
split-complementary
#7D1C96 #72961C #1C9640
monochromatic
#27092F #521262 #7D1C96 #A826CA #C14EDE

Accessibility & contrast

On white

8.47
#7D1C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7D1C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C96
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C96#FFFFFF#000000##FFFFFF
##7D1C961.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#225093
Tritanopia (blue-blind)
#7C385A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d1c96;
/* rgb */ color: rgb(125, 28, 150);
/* oklch */ color: oklch(44.5% 0.192 318.1);
Tailwind
colors: {
  custom: {
    50: '#a765b6',
    500: '#7d1c96',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c96;
$custom-light: #a765b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c96",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 287.705,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44504,
    "c": 0.19173,
    "h": 318.1
  },
  "luminance": 0.07392
}

Semantic roles & 50–950 ramp

primary
#7D1C96
secondary
#65C14D
accent
#EB3C60
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1C96

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

Preview Lab → · Contrast checker → · Palette generator →

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