#7D1E7E#7D1E7E

#7D1E7E is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.170 H 327.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7D1E7E
RGBrgb(125, 30, 126)
HSLhsl(299, 62%, 31%)
HSVhsv(299, 76%, 49%)
CMYKcmyk(0.8%, 76.2%, 0%, 50.6%)
CIE-LABlab(31.34, 51.49, -32.79)
CIE-LCHlch(31.34, 61.04, 327.52°)
OKLaboklab(43.05% 0.1432 -0.0909)
OKLCHoklch(43.05% 0.17 327.6)
XYZxyz(12.6874, 6.7958, 20.3781)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E7E #1F7E1E
analogous
#4D1E7E #7D1E7E #7E1E4F
triadic
#7D1E7E #7E7D1E #1E7E7D
tetradic
#7D1E7E #7E4D1E #1F7E1E #1E4F7E
square
#7D1E7E #7E4D1E #1F7E1E #1E4F7E
split-complementary
#7D1E7E #4F7E1E #1E7E4D
monochromatic
#1B061B #4C124D #7D1E7E #AE2AAF #D144D2

Accessibility & contrast

On white

8.90
#7D1E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7D1E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E7E
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E7E#FFFFFF#000000##FFFFFF
##7D1E7E1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074281
Deuteranopia (green-blind)
#384E7C
Tritanopia (blue-blind)
#812E4D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d1e7e;
/* rgb */ color: rgb(125, 30, 126);
/* oklch */ color: oklch(43.0% 0.170 327.6);
Tailwind
colors: {
  custom: {
    50: '#a665a4',
    500: '#7d1e7e',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e7e;
$custom-light: #a665a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e7e",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 299.375,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43046,
    "c": 0.16961,
    "h": 327.6
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#7D1E7E
secondary
#48B147
accent
#E54345
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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