#7C1D95#7C1D95

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

Color values

HEX#7C1D95
RGBrgb(124, 29, 149)
HSLhsl(288, 67%, 35%)
HSVhsv(288, 81%, 58%)
CMYKcmyk(16.8%, 80.5%, 0%, 41.6%)
CIE-LABlab(32.56, 55.86, -45.10)
CIE-LCHlch(32.56, 71.80, 321.08°)
OKLaboklab(44.36% 0.1408 -0.127)
OKLCHoklch(44.36% 0.19 318)
XYZxyz(14.1756, 7.3344, 29.0969)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D95 #36951D
analogous
#401D95 #7C1D95 #951D72
triadic
#7C1D95 #957C1D #1D957C
tetradic
#7C1D95 #95401D #36951D #1D7295
square
#7C1D95 #95401D #36951D #1D7295
split-complementary
#7C1D95 #72951D #1D9540
monochromatic
#27092F #511362 #7C1D95 #A727C8 #BF50DD

Accessibility & contrast

On white

8.51
#7C1D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1D95
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1D95#FFFFFF#000000##FFFFFF
##7C1D951.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#224F92
Tritanopia (blue-blind)
#7B3859
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c1d95;
/* rgb */ color: rgb(124, 29, 149);
/* oklch */ color: oklch(44.4% 0.190 318.0);
Tailwind
colors: {
  custom: {
    50: '#a666b5',
    500: '#7c1d95',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d95;
$custom-light: #a666b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d95",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 287.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44358,
    "c": 0.18959,
    "h": 318
  },
  "luminance": 0.07334
}

Semantic roles & 50–950 ramp

primary
#7C1D95
secondary
#66C04E
accent
#EA3D61
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1D95

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

Preview Lab → · Contrast checker → · Palette generator →

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