#7D2E75#7D2E75

#7D2E75 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.2% C 0.141 H 331.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7D2E75
RGBrgb(125, 46, 117)
HSLhsl(306, 46%, 34%)
HSVhsv(306, 63%, 49%)
CMYKcmyk(0%, 63.2%, 6.4%, 51%)
CIE-LABlab(33.13, 43.47, -24.29)
CIE-LCHlch(33.13, 49.79, 330.80°)
OKLaboklab(44.18% 0.1243 -0.0665)
OKLCHoklch(44.18% 0.141 331.8)
XYZxyz(12.6453, 7.5992, 17.6269)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E75 #2E7D36
analogous
#5D2E7D #7D2E75 #7D2E4D
triadic
#7D2E75 #757D2E #2E757D
tetradic
#7D2E75 #7D5D2E #2E7D36 #2E4D7D
square
#7D2E75 #7D5D2E #2E7D36 #2E4D7D
split-complementary
#7D2E75 #4D7D2E #2E7D5D
monochromatic
#240D21 #501E4B #7D2E75 #AA3E9F #C561BB

Accessibility & contrast

On white

8.33
#7D2E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7D2E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E75
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E75#FFFFFF#000000##FFFFFF
##7D2E751.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4777
Deuteranopia (green-blind)
#445273
Tritanopia (blue-blind)
#82354D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2e75;
/* rgb */ color: rgb(125, 46, 117);
/* oklch */ color: oklch(44.2% 0.141 331.8);
Tailwind
colors: {
  custom: {
    50: '#a56c9d',
    500: '#7d2e75',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e75;
$custom-light: #a56c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e75",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 306.076,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44183,
    "c": 0.14094,
    "h": 331.8
  },
  "luminance": 0.07598
}

Semantic roles & 50–950 ramp

primary
#7D2E75
secondary
#5BAB64
accent
#D65F52
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2E75

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

Preview Lab → · Contrast checker → · Palette generator →

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