#7D2D99#7D2D99

#7D2D99 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.176 H 315.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7D2D99
RGBrgb(125, 45, 153)
HSLhsl(284, 55%, 39%)
HSVhsv(284, 71%, 60%)
CMYKcmyk(18.3%, 70.6%, 0%, 40%)
CIE-LABlab(35.08, 50.91, -43.48)
CIE-LCHlch(35.08, 66.95, 319.50°)
OKLaboklab(46.27% 0.1262 -0.1223)
OKLCHoklch(46.27% 0.176 315.9)
XYZxyz(15.1447, 8.5372, 30.9809)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D99 #49992D
analogous
#472D99 #7D2D99 #992D7F
triadic
#7D2D99 #997D2D #2D997D
tetradic
#7D2D99 #99472D #49992D #2D7F99
square
#7D2D99 #99472D #49992D #2D7F99
split-complementary
#7D2D99 #7F992D #2D9947
monochromatic
#30113A #561F6A #7D2D99 #A33DC6 #B96CD4

Accessibility & contrast

On white

7.76
#7D2D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7D2D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D99
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D99#FFFFFF#000000##FFFFFF
##7D2D991.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#2C5597
Tritanopia (blue-blind)
#7B4360
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d2d99;
/* rgb */ color: rgb(125, 45, 153);
/* oklch */ color: oklch(46.3% 0.176 315.9);
Tailwind
colors: {
  custom: {
    50: '#a66db8',
    500: '#7d2d99',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d99;
$custom-light: #a66db8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d99",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 284.444,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46265,
    "c": 0.17575,
    "h": 315.9
  },
  "luminance": 0.08537
}

Semantic roles & 50–950 ramp

primary
#7D2D99
secondary
#7DBB67
accent
#DE4A70
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2D99

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

Preview Lab → · Contrast checker → · Palette generator →

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