#7D2E7D#7D2E7D

#7D2E7D is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.6% C 0.148 H 327.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7D2E7D
RGBrgb(125, 46, 125)
HSLhsl(300, 46%, 34%)
HSVhsv(300, 63%, 49%)
CMYKcmyk(0%, 63.2%, 0%, 51%)
CIE-LABlab(33.55, 44.92, -28.65)
CIE-LCHlch(33.55, 53.28, 327.47°)
OKLaboklab(44.63% 0.1251 -0.0791)
OKLCHoklch(44.63% 0.148 327.7)
XYZxyz(13.1359, 7.7955, 20.2109)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E7D #2E7D2E
analogous
#552E7D #7D2E7D #7D2E55
triadic
#7D2E7D #7D7D2E #2E7D7D
tetradic
#7D2E7D #7D552E #2E7D2E #2E557D
square
#7D2E7D #7D552E #2E7D2E #2E557D
split-complementary
#7D2E7D #557D2E #2E7D55
monochromatic
#240D24 #501E50 #7D2E7D #AA3EAA #C561C5

Accessibility & contrast

On white

8.21
#7D2E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7D2E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E7D
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E7D#FFFFFF#000000##FFFFFF
##7D2E7D1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#41537B
Tritanopia (blue-blind)
#813851
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2e7d;
/* rgb */ color: rgb(125, 46, 125);
/* oklch */ color: oklch(44.6% 0.148 327.7);
Tailwind
colors: {
  custom: {
    50: '#a56da3',
    500: '#7d2e7d',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e7d;
$custom-light: #a56da3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e7d",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 300,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44625,
    "c": 0.14799,
    "h": 327.7
  },
  "luminance": 0.07795
}

Semantic roles & 50–950 ramp

primary
#7D2E7D
secondary
#5BAB5B
accent
#D65252
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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