#7D1C95#7D1C95

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

Color values

HEX#7D1C95
RGBrgb(125, 28, 149)
HSLhsl(288, 68%, 35%)
HSVhsv(288, 81%, 58%)
CMYKcmyk(16.1%, 81.2%, 0%, 41.6%)
CIE-LABlab(32.62, 56.36, -45.00)
CIE-LCHlch(32.62, 72.12, 321.40°)
OKLaboklab(44.43% 0.1428 -0.1266)
OKLCHoklch(44.43% 0.191 318.4)
XYZxyz(14.2968, 7.3611, 29.0957)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C95 #34951C
analogous
#401C95 #7D1C95 #951C71
triadic
#7D1C95 #957D1C #1C957D
tetradic
#7D1C95 #95401C #34951C #1C7195
square
#7D1C95 #95401C #34951C #1C7195
split-complementary
#7D1C95 #71951C #1C9540
monochromatic
#27092E #521261 #7D1C95 #A826C9 #C14EDE

Accessibility & contrast

On white

8.50
#7D1C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1C95
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C95#FFFFFF#000000##FFFFFF
##7D1C951.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#235092
Tritanopia (blue-blind)
#7C3859
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d1c95;
/* rgb */ color: rgb(125, 28, 149);
/* oklch */ color: oklch(44.4% 0.191 318.4);
Tailwind
colors: {
  custom: {
    50: '#a765b5',
    500: '#7d1c95',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c95;
$custom-light: #a765b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c95",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 288.099,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44432,
    "c": 0.19088,
    "h": 318.4
  },
  "luminance": 0.0736
}

Semantic roles & 50–950 ramp

primary
#7D1C95
secondary
#64C04D
accent
#EB3D5F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1C95

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

Preview Lab → · Contrast checker → · Palette generator →

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