#7D2E73#7D2E73

#7D2E73 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.1% C 0.139 H 332.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7D2E73
RGBrgb(125, 46, 115)
HSLhsl(308, 46%, 34%)
HSVhsv(308, 63%, 49%)
CMYKcmyk(0%, 63.2%, 8%, 51%)
CIE-LABlab(33.03, 43.11, -23.18)
CIE-LCHlch(33.03, 48.95, 331.73°)
OKLaboklab(44.08% 0.124 -0.0633)
OKLCHoklch(44.08% 0.139 332.9)
XYZxyz(12.5290, 7.5527, 17.0143)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E73 #2E7D38
analogous
#5F2E7D #7D2E73 #7D2E4B
triadic
#7D2E73 #737D2E #2E737D
tetradic
#7D2E73 #7D5F2E #2E7D38 #2E4B7D
square
#7D2E73 #7D5F2E #2E7D38 #2E4B7D
split-complementary
#7D2E73 #4B7D2E #2E7D5F
monochromatic
#240D21 #501E4A #7D2E73 #AA3E9C #C561B8

Accessibility & contrast

On white

8.37
#7D2E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7D2E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E73
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E73#FFFFFF#000000##FFFFFF
##7D2E731.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4675
Deuteranopia (green-blind)
#455271
Tritanopia (blue-blind)
#82344C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2e73;
/* rgb */ color: rgb(125, 46, 115);
/* oklch */ color: oklch(44.1% 0.139 332.9);
Tailwind
colors: {
  custom: {
    50: '#a56c9b',
    500: '#7d2e73',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e73;
$custom-light: #a56c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e73",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 307.595,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44077,
    "c": 0.13924,
    "h": 332.9
  },
  "luminance": 0.07552
}

Semantic roles & 50–950 ramp

primary
#7D2E73
secondary
#5BAB66
accent
#D66352
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2E73

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

Preview Lab → · Contrast checker → · Palette generator →

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