#7D2B82#7D2B82

#7D2B82 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.157 H 325.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7D2B82
RGBrgb(125, 43, 130)
HSLhsl(297, 50%, 34%)
HSVhsv(297, 67%, 51%)
CMYKcmyk(3.8%, 66.9%, 0%, 49%)
CIE-LABlab(33.35, 47.19, -32.09)
CIE-LCHlch(33.35, 57.07, 325.78°)
OKLaboklab(44.57% 0.1291 -0.089)
OKLCHoklch(44.57% 0.157 325.4)
XYZxyz(13.3503, 7.7003, 21.8979)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2B82 #30822B
analogous
#522B82 #7D2B82 #822B5C
triadic
#7D2B82 #827D2B #2B827D
tetradic
#7D2B82 #82522B #30822B #2B5C82
square
#7D2B82 #82522B #30822B #2B5C82
split-complementary
#7D2B82 #5C822B #2B8252
monochromatic
#250D26 #511C54 #7D2B82 #A93AB0 #C35ECA

Accessibility & contrast

On white

8.27
#7D2B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7D2B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2B82
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2B82#FFFFFF#000000##FFFFFF
##7D2B821.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4885
Deuteranopia (green-blind)
#3C5280
Tritanopia (blue-blind)
#803853
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2b82;
/* rgb */ color: rgb(125, 43, 130);
/* oklch */ color: oklch(44.6% 0.157 325.4);
Tailwind
colors: {
  custom: {
    50: '#a56ba7',
    500: '#7d2b82',
    950: '#000000',
  },
}
SCSS
$custom: #7d2b82;
$custom-light: #a56ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2b82",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 296.552,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44568,
    "c": 0.15684,
    "h": 325.4
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#7D2B82
secondary
#5EB059
accent
#DA4E56
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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