#7D2792#7D2792

#7D2792 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.177 H 319.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7D2792
RGBrgb(125, 39, 146)
HSLhsl(288, 58%, 36%)
HSVhsv(288, 73%, 57%)
CMYKcmyk(14.4%, 73.3%, 0%, 42.7%)
CIE-LABlab(33.75, 51.94, -41.34)
CIE-LCHlch(33.75, 66.39, 321.48°)
OKLaboklab(45.17% 0.1332 -0.116)
OKLCHoklch(45.17% 0.177 319)
XYZxyz(14.3706, 7.8870, 27.9539)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2792 #3C9227
analogous
#482792 #7D2792 #922772
triadic
#7D2792 #927D27 #27927D
tetradic
#7D2792 #924827 #3C9227 #277292
square
#7D2792 #924827 #3C9227 #277292
split-complementary
#7D2792 #729227 #279248
monochromatic
#2A0D31 #541A62 #7D2792 #A634C2 #BD5FD4

Accessibility & contrast

On white

8.15
#7D2792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7D2792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2792
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2792#FFFFFF#000000##FFFFFF
##7D27921.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#2E5290
Tritanopia (blue-blind)
#7D3C5A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2792;
/* rgb */ color: rgb(125, 39, 146);
/* oklch */ color: oklch(45.2% 0.177 319.0);
Tailwind
colors: {
  custom: {
    50: '#a66ab2',
    500: '#7d2792',
    950: '#000000',
  },
}
SCSS
$custom: #7d2792;
$custom-light: #a66ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2792",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 288.224,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45168,
    "c": 0.17661,
    "h": 319
  },
  "luminance": 0.07886
}

Semantic roles & 50–950 ramp

primary
#7D2792
secondary
#6EBA5B
accent
#E14765
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2792

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

Preview Lab → · Contrast checker → · Palette generator →

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