#7D2F82#7D2F82

#7D2F82 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.0% C 0.151 H 325.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7D2F82
RGBrgb(125, 47, 130)
HSLhsl(296, 47%, 35%)
HSVhsv(296, 64%, 51%)
CMYKcmyk(3.8%, 63.8%, 0%, 49%)
CIE-LABlab(33.99, 45.40, -31.07)
CIE-LCHlch(33.99, 55.02, 325.61°)
OKLaboklab(45.03% 0.1242 -0.0861)
OKLCHoklch(45.03% 0.151 325.3)
XYZxyz(13.5029, 8.0055, 21.9488)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F82 #34822F
analogous
#542F82 #7D2F82 #822F5D
triadic
#7D2F82 #827D2F #2F827D
tetradic
#7D2F82 #82542F #34822F #2F5D82
square
#7D2F82 #82542F #34822F #2F5D82
split-complementary
#7D2F82 #5D822F #2F8254
monochromatic
#270E28 #521F55 #7D2F82 #A83FAF #C164C7

Accessibility & contrast

On white

8.07
#7D2F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7D2F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F82
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F82#FFFFFF#000000##FFFFFF
##7D2F821.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214A85
Deuteranopia (green-blind)
#3E5380
Tritanopia (blue-blind)
#803B54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2f82;
/* rgb */ color: rgb(125, 47, 130);
/* oklch */ color: oklch(45.0% 0.151 325.3);
Tailwind
colors: {
  custom: {
    50: '#a56da7',
    500: '#7d2f82',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f82;
$custom-light: #a56da7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f82",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 296.386,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45034,
    "c": 0.15109,
    "h": 325.3
  },
  "luminance": 0.08005
}

Semantic roles & 50–950 ramp

primary
#7D2F82
secondary
#64AE5F
accent
#D75159
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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