#7D2A75#7D2A75

#7D2A75 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.147 H 331.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7D2A75
RGBrgb(125, 42, 117)
HSLhsl(306, 50%, 33%)
HSVhsv(306, 66%, 49%)
CMYKcmyk(0%, 66.4%, 6.4%, 51%)
CIE-LABlab(32.48, 45.27, -25.31)
CIE-LCHlch(32.48, 51.86, 330.79°)
OKLaboklab(43.71% 0.1295 -0.0694)
OKLCHoklch(43.71% 0.147 331.8)
XYZxyz(12.4963, 7.3012, 17.5773)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A75 #2A7D32
analogous
#5B2A7D #7D2A75 #7D2A4B
triadic
#7D2A75 #757D2A #2A757D
tetradic
#7D2A75 #7D5B2A #2A7D32 #2A4B7D
square
#7D2A75 #7D5B2A #2A7D32 #2A4B7D
split-complementary
#7D2A75 #4B7D2A #2A7D5B
monochromatic
#210B1F #4F1B4A #7D2A75 #AB39A0 #C85ABD

Accessibility & contrast

On white

8.54
#7D2A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7D2A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A75
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A75#FFFFFF#000000##FFFFFF
##7D2A751.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264577
Deuteranopia (green-blind)
#425173
Tritanopia (blue-blind)
#82324B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2a75;
/* rgb */ color: rgb(125, 42, 117);
/* oklch */ color: oklch(43.7% 0.147 331.8);
Tailwind
colors: {
  custom: {
    50: '#a56a9d',
    500: '#7d2a75',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a75;
$custom-light: #a56a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a75",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 305.783,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43709,
    "c": 0.14689,
    "h": 331.8
  },
  "luminance": 0.073
}

Semantic roles & 50–950 ramp

primary
#7D2A75
secondary
#56AD5E
accent
#D95C4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2A75

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

Preview Lab → · Contrast checker → · Palette generator →

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