#7D2A7E#7D2A7E

#7D2A7E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.155 H 327.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7D2A7E
RGBrgb(125, 42, 126)
HSLhsl(299, 50%, 33%)
HSVhsv(299, 67%, 49%)
CMYKcmyk(0.8%, 66.7%, 0%, 50.6%)
CIE-LABlab(32.97, 46.88, -30.20)
CIE-LCHlch(32.97, 55.76, 327.21°)
OKLaboklab(44.22% 0.1302 -0.0835)
OKLCHoklch(44.22% 0.155 327.3)
XYZxyz(13.0511, 7.5231, 20.4993)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A7E #2B7E2A
analogous
#532A7E #7D2A7E #7E2A55
triadic
#7D2A7E #7E7D2A #2A7E7D
tetradic
#7D2A7E #7E532A #2B7E2A #2A557E
square
#7D2A7E #7E532A #2B7E2A #2A557E
split-complementary
#7D2A7E #557E2A #2A7E53
monochromatic
#220B22 #4F1B50 #7D2A7E #AB39AC #C75AC8

Accessibility & contrast

On white

8.39
#7D2A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7D2A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A7E
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A7E#FFFFFF#000000##FFFFFF
##7D2A7E1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4780
Deuteranopia (green-blind)
#3E517C
Tritanopia (blue-blind)
#813650
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2a7e;
/* rgb */ color: rgb(125, 42, 126);
/* oklch */ color: oklch(44.2% 0.155 327.3);
Tailwind
colors: {
  custom: {
    50: '#a56aa4',
    500: '#7d2a7e',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a7e;
$custom-light: #a56aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a7e",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 299.286,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44219,
    "c": 0.15465,
    "h": 327.3
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#7D2A7E
secondary
#57AE56
accent
#DA4E50
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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