#7D1C93#7D1C93

#7D1C93 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.189 H 319.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7D1C93
RGBrgb(125, 28, 147)
HSLhsl(289, 68%, 34%)
HSVhsv(289, 81%, 58%)
CMYKcmyk(15%, 81%, 0%, 42.4%)
CIE-LABlab(32.48, 55.98, -44.00)
CIE-LCHlch(32.48, 71.20, 321.83°)
OKLaboklab(44.29% 0.1432 -0.1237)
OKLCHoklch(44.29% 0.189 319.2)
XYZxyz(14.1385, 7.2978, 28.2620)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C93 #32931C
analogous
#421C93 #7D1C93 #931C6E
triadic
#7D1C93 #937D1C #1C937D
tetradic
#7D1C93 #93421C #32931C #1C6E93
square
#7D1C93 #93421C #32931C #1C6E93
split-complementary
#7D1C93 #6E931C #1C9342
monochromatic
#26082C #511260 #7D1C93 #A926C6 #C24CDD

Accessibility & contrast

On white

8.54
#7D1C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7D1C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C93
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C93#FFFFFF#000000##FFFFFF
##7D1C931.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#254F90
Tritanopia (blue-blind)
#7D3758
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d1c93;
/* rgb */ color: rgb(125, 28, 147);
/* oklch */ color: oklch(44.3% 0.189 319.2);
Tailwind
colors: {
  custom: {
    50: '#a765b3',
    500: '#7d1c93',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c93;
$custom-light: #a765b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c93",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 288.908,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44289,
    "c": 0.18919,
    "h": 319.2
  },
  "luminance": 0.07297
}

Semantic roles & 50–950 ramp

primary
#7D1C93
secondary
#61BF4C
accent
#EB3D5D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1C93

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

Preview Lab → · Contrast checker → · Palette generator →

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