#7D1E95#7D1E95

#7D1E95 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.189 H 318.3°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7D1E95
RGBrgb(125, 30, 149)
HSLhsl(288, 66%, 35%)
HSVhsv(288, 80%, 58%)
CMYKcmyk(16.1%, 79.9%, 0%, 41.6%)
CIE-LABlab(32.83, 55.74, -44.66)
CIE-LCHlch(32.83, 71.42, 321.30°)
OKLaboklab(44.58% 0.1412 -0.1256)
OKLCHoklch(44.58% 0.189 318.3)
XYZxyz(14.3458, 7.4591, 29.1120)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E95 #36951E
analogous
#411E95 #7D1E95 #951E72
triadic
#7D1E95 #957D1E #1E957D
tetradic
#7D1E95 #95411E #36951E #1E7295
square
#7D1E95 #95411E #36951E #1E7295
split-complementary
#7D1E95 #72951E #1E9541
monochromatic
#28092F #521462 #7D1E95 #A828C8 #C051DC

Accessibility & contrast

On white

8.43
#7D1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7D1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E95
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E95#FFFFFF#000000##FFFFFF
##7D1E951.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1e95;
/* rgb */ color: rgb(125, 30, 149);
/* oklch */ color: oklch(44.6% 0.189 318.3);
Tailwind
colors: {
  custom: {
    50: '#a766b5',
    500: '#7d1e95',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e95;
$custom-light: #a766b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e95",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 287.899,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44583,
    "c": 0.18901,
    "h": 318.3
  },
  "luminance": 0.07458
}

Semantic roles & 50–950 ramp

primary
#7D1E95
secondary
#66BF50
accent
#E93E61
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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