#7D2C7E#7D2C7E

#7D2C7E is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.4% C 0.152 H 327.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7D2C7E
RGBrgb(125, 44, 126)
HSLhsl(299, 48%, 33%)
HSVhsv(299, 65%, 49%)
CMYKcmyk(0.8%, 65.1%, 0%, 50.6%)
CIE-LABlab(33.28, 46.00, -29.70)
CIE-LCHlch(33.28, 54.76, 327.15°)
OKLaboklab(44.45% 0.1277 -0.0821)
OKLCHoklch(44.45% 0.152 327.3)
XYZxyz(13.1238, 7.6685, 20.5236)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C7E #2D7E2C
analogous
#542C7E #7D2C7E #7E2C56
triadic
#7D2C7E #7E7D2C #2C7E7D
tetradic
#7D2C7E #7E542C #2D7E2C #2C567E
square
#7D2C7E #7E542C #2D7E2C #2C567E
split-complementary
#7D2C7E #567E2C #2C7E54
monochromatic
#230C23 #501C51 #7D2C7E #AA3CAB #C55EC7

Accessibility & contrast

On white

8.29
#7D2C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7D2C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C7E
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C7E#FFFFFF#000000##FFFFFF
##7D2C7E1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214880
Deuteranopia (green-blind)
#3F527C
Tritanopia (blue-blind)
#813751
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2c7e;
/* rgb */ color: rgb(125, 44, 126);
/* oklch */ color: oklch(44.4% 0.152 327.3);
Tailwind
colors: {
  custom: {
    50: '#a56ca4',
    500: '#7d2c7e',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c7e;
$custom-light: #a56ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c7e",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 299.268,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44446,
    "c": 0.15183,
    "h": 327.3
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#7D2C7E
secondary
#5AAD59
accent
#D85052
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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