#7D1D95#7D1D95

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

Color values

HEX#7D1D95
RGBrgb(125, 29, 149)
HSLhsl(288, 67%, 35%)
HSVhsv(288, 81%, 58%)
CMYKcmyk(16.1%, 80.5%, 0%, 41.6%)
CIE-LABlab(32.72, 56.06, -44.83)
CIE-LCHlch(32.72, 71.78, 321.35°)
OKLaboklab(44.51% 0.142 -0.1261)
OKLCHoklch(44.51% 0.19 318.4)
XYZxyz(14.3209, 7.4093, 29.1037)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D95 #35951D
analogous
#411D95 #7D1D95 #951D71
triadic
#7D1D95 #957D1D #1D957D
tetradic
#7D1D95 #95411D #35951D #1D7195
square
#7D1D95 #95411D #35951D #1D7195
split-complementary
#7D1D95 #71951D #1D9541
monochromatic
#27092F #521362 #7D1D95 #A827C8 #C150DD

Accessibility & contrast

On white

8.46
#7D1D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1D95
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D95#FFFFFF#000000##FFFFFF
##7D1D951.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1d95;
/* rgb */ color: rgb(125, 29, 149);
/* oklch */ color: oklch(44.5% 0.190 318.4);
Tailwind
colors: {
  custom: {
    50: '#a766b5',
    500: '#7d1d95',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d95;
$custom-light: #a766b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d95",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 288,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44506,
    "c": 0.18996,
    "h": 318.4
  },
  "luminance": 0.07409
}

Semantic roles & 50–950 ramp

primary
#7D1D95
secondary
#65C04E
accent
#EA3D60
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1D95

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

Preview Lab → · Contrast checker → · Palette generator →

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