#7D2E82#7D2E82

#7D2E82 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.153 H 325.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7D2E82
RGBrgb(125, 46, 130)
HSLhsl(296, 48%, 35%)
HSVhsv(296, 65%, 51%)
CMYKcmyk(3.8%, 64.6%, 0%, 49%)
CIE-LABlab(33.83, 45.86, -31.33)
CIE-LCHlch(33.83, 55.54, 325.66°)
OKLaboklab(44.92% 0.1254 -0.0868)
OKLCHoklch(44.92% 0.153 325.3)
XYZxyz(13.4634, 7.9265, 21.9356)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E82 #33822E
analogous
#532E82 #7D2E82 #822E5D
triadic
#7D2E82 #827D2E #2E827D
tetradic
#7D2E82 #82532E #33822E #2E5D82
square
#7D2E82 #82532E #33822E #2E5D82
split-complementary
#7D2E82 #5D822E #2E8253
monochromatic
#260E28 #521E55 #7D2E82 #A83EAF #C263C8

Accessibility & contrast

On white

8.12
#7D2E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7D2E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E82
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E82#FFFFFF#000000##FFFFFF
##7D2E821.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204985
Deuteranopia (green-blind)
#3E5380
Tritanopia (blue-blind)
#803A54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2e82;
/* rgb */ color: rgb(125, 46, 130);
/* oklch */ color: oklch(44.9% 0.153 325.3);
Tailwind
colors: {
  custom: {
    50: '#a56da7',
    500: '#7d2e82',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e82;
$custom-light: #a56da7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e82",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 296.429,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44915,
    "c": 0.15255,
    "h": 325.3
  },
  "luminance": 0.07926
}

Semantic roles & 50–950 ramp

primary
#7D2E82
secondary
#62AE5D
accent
#D75059
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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