#7D2D92#7D2D92

#7D2D92 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.8% C 0.169 H 318.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7D2D92
RGBrgb(125, 45, 146)
HSLhsl(288, 53%, 37%)
HSVhsv(288, 69%, 57%)
CMYKcmyk(14.4%, 69.2%, 0%, 42.7%)
CIE-LABlab(34.63, 49.46, -39.93)
CIE-LCHlch(34.63, 63.57, 321.08°)
OKLaboklab(45.8% 0.1267 -0.1119)
OKLCHoklch(45.8% 0.169 318.5)
XYZxyz(14.5834, 8.3127, 28.0249)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D92 #42922D
analogous
#4B2D92 #7D2D92 #922D74
triadic
#7D2D92 #927D2D #2D927D
tetradic
#7D2D92 #924B2D #42922D #2D7492
square
#7D2D92 #924B2D #42922D #2D7492
split-complementary
#7D2D92 #74922D #2D924B
monochromatic
#2D1034 #551F63 #7D2D92 #A53BC1 #BB69D1

Accessibility & contrast

On white

7.89
#7D2D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7D2D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D92
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D92#FFFFFF#000000##FFFFFF
##7D2D921.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#325490
Tritanopia (blue-blind)
#7D405C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d2d92;
/* rgb */ color: rgb(125, 45, 146);
/* oklch */ color: oklch(45.8% 0.169 318.5);
Tailwind
colors: {
  custom: {
    50: '#a66db2',
    500: '#7d2d92',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d92;
$custom-light: #a66db2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d92",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 287.525,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45797,
    "c": 0.16902,
    "h": 318.5
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#7D2D92
secondary
#75B763
accent
#DC4C6A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2D92

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

Preview Lab → · Contrast checker → · Palette generator →

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