#7D2C83#7D2C83

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

Color values

HEX#7D2C83
RGBrgb(125, 44, 131)
HSLhsl(296, 50%, 34%)
HSVhsv(296, 66%, 51%)
CMYKcmyk(4.6%, 66.4%, 0%, 48.6%)
CIE-LABlab(33.56, 46.94, -32.37)
CIE-LCHlch(33.56, 57.02, 325.41°)
OKLaboklab(44.74% 0.128 -0.0898)
OKLCHoklch(44.74% 0.156 324.9)
XYZxyz(13.4545, 7.8008, 22.2654)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C83 #32832C
analogous
#522C83 #7D2C83 #832C5E
triadic
#7D2C83 #837D2C #2C837D
tetradic
#7D2C83 #83522C #32832C #2C5E83
square
#7D2C83 #83522C #32832C #2C5E83
split-complementary
#7D2C83 #5E832C #2C8352
monochromatic
#260D27 #511D55 #7D2C83 #A93BB1 #C260CA

Accessibility & contrast

On white

8.20
#7D2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7D2C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C83
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C83#FFFFFF#000000##FFFFFF
##7D2C831.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2c83;
/* rgb */ color: rgb(125, 44, 131);
/* oklch */ color: oklch(44.7% 0.156 324.9);
Tailwind
colors: {
  custom: {
    50: '#a56ca7',
    500: '#7d2c83',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c83;
$custom-light: #a56ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c83",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 295.862,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44741,
    "c": 0.15634,
    "h": 324.9
  },
  "luminance": 0.078
}

Semantic roles & 50–950 ramp

primary
#7D2C83
secondary
#61B05B
accent
#D94F58
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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