#7D2D80#7D2D80

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

Color values

HEX#7D2D80
RGBrgb(125, 45, 128)
HSLhsl(298, 48%, 34%)
HSVhsv(298, 65%, 50%)
CMYKcmyk(2.3%, 64.8%, 0%, 49.8%)
CIE-LABlab(33.55, 45.93, -30.52)
CIE-LCHlch(33.55, 55.15, 326.40°)
OKLaboklab(44.68% 0.1266 -0.0845)
OKLCHoklch(44.68% 0.152 326.3)
XYZxyz(13.2919, 7.7961, 21.2226)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D80 #30802D
analogous
#542D80 #7D2D80 #802D5A
triadic
#7D2D80 #807D2D #2D807D
tetradic
#7D2D80 #80542D #30802D #2D5A80
square
#7D2D80 #80542D #30802D #2D5A80
split-complementary
#7D2D80 #5A802D #2D8054
monochromatic
#250D25 #511D53 #7D2D80 #A93DAD #C360C7

Accessibility & contrast

On white

8.21
#7D2D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2D80
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D80#FFFFFF#000000##FFFFFF
##7D2D801.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204882
Deuteranopia (green-blind)
#3E527E
Tritanopia (blue-blind)
#803852
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2d80;
/* rgb */ color: rgb(125, 45, 128);
/* oklch */ color: oklch(44.7% 0.152 326.3);
Tailwind
colors: {
  custom: {
    50: '#a56ca5',
    500: '#7d2d80',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d80;
$custom-light: #a56ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d80",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 297.831,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44679,
    "c": 0.15218,
    "h": 326.3
  },
  "luminance": 0.07795
}

Semantic roles & 50–950 ramp

primary
#7D2D80
secondary
#5EAE5B
accent
#D85055
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2D80

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

Preview Lab → · Contrast checker → · Palette generator →

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