#7C1D96#7C1D96

#7C1D96 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.190 H 317.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7C1D96
RGBrgb(124, 29, 150)
HSLhsl(287, 68%, 35%)
HSVhsv(287, 81%, 59%)
CMYKcmyk(17.3%, 80.7%, 0%, 41.2%)
CIE-LABlab(32.63, 56.06, -45.60)
CIE-LCHlch(32.63, 72.26, 320.87°)
OKLaboklab(44.43% 0.1406 -0.1284)
OKLCHoklch(44.43% 0.19 317.6)
XYZxyz(14.2558, 7.3665, 29.5192)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D96 #37961D
analogous
#3F1D96 #7C1D96 #961D74
triadic
#7C1D96 #967C1D #1D967C
tetradic
#7C1D96 #963F1D #37961D #1D7496
square
#7C1D96 #963F1D #37961D #1D7496
split-complementary
#7C1D96 #74961D #1D963F
monochromatic
#27092F #521363 #7C1D96 #A627C9 #BF50DD

Accessibility & contrast

On white

8.49
#7C1D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7C1D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1D96
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1D96#FFFFFF#000000##FFFFFF
##7C1D961.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#214F93
Tritanopia (blue-blind)
#7B395A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c1d96;
/* rgb */ color: rgb(124, 29, 150);
/* oklch */ color: oklch(44.4% 0.190 317.6);
Tailwind
colors: {
  custom: {
    50: '#a666b6',
    500: '#7c1d96',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d96;
$custom-light: #a666b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d96",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 287.107,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4443,
    "c": 0.19044,
    "h": 317.6
  },
  "luminance": 0.07366
}

Semantic roles & 50–950 ramp

primary
#7C1D96
secondary
#67C04F
accent
#EA3D63
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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