#7D2C82#7D2C82

#7D2C82 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.155 H 325.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7D2C82
RGBrgb(125, 44, 130)
HSLhsl(297, 49%, 34%)
HSVhsv(297, 66%, 51%)
CMYKcmyk(3.8%, 66.2%, 0%, 49%)
CIE-LABlab(33.51, 46.75, -31.84)
CIE-LCHlch(33.51, 56.57, 325.74°)
OKLaboklab(44.68% 0.1279 -0.0883)
OKLCHoklch(44.68% 0.155 325.4)
XYZxyz(13.3871, 7.7739, 21.9101)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C82 #31822C
analogous
#522C82 #7D2C82 #822C5C
triadic
#7D2C82 #827D2C #2C827D
tetradic
#7D2C82 #82522C #31822C #2C5C82
square
#7D2C82 #82522C #31822C #2C5C82
split-complementary
#7D2C82 #5C822C #2C8252
monochromatic
#250D27 #511D54 #7D2C82 #A93BB0 #C35FC9

Accessibility & contrast

On white

8.22
#7D2C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7D2C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C82
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C82#FFFFFF#000000##FFFFFF
##7D2C821.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4885
Deuteranopia (green-blind)
#3D5280
Tritanopia (blue-blind)
#803953
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2c82;
/* rgb */ color: rgb(125, 44, 130);
/* oklch */ color: oklch(44.7% 0.155 325.4);
Tailwind
colors: {
  custom: {
    50: '#a56ca7',
    500: '#7d2c82',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c82;
$custom-light: #a56ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c82",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 296.512,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44682,
    "c": 0.15544,
    "h": 325.4
  },
  "luminance": 0.07773
}

Semantic roles & 50–950 ramp

primary
#7D2C82
secondary
#60AF5B
accent
#D94F57
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2C82

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

Preview Lab → · Contrast checker → · Palette generator →

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