#7D2082#7D2082

#7D2082 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.171 H 325.8°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7D2082
RGBrgb(125, 32, 130)
HSLhsl(297, 60%, 32%)
HSVhsv(297, 75%, 51%)
CMYKcmyk(3.8%, 75.4%, 0%, 49%)
CIE-LABlab(31.82, 51.52, -34.52)
CIE-LCHlch(31.82, 62.01, 326.17°)
OKLaboklab(43.47% 0.1412 -0.096)
OKLCHoklch(43.47% 0.171 325.8)
XYZxyz(13.0030, 7.0056, 21.7821)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2082 #258220
analogous
#4C2082 #7D2082 #822056
triadic
#7D2082 #827D20 #20827D
tetradic
#7D2082 #824C20 #258220 #205682
square
#7D2082 #824C20 #258220 #205682
split-complementary
#7D2082 #568220 #20824C
monochromatic
#1F0820 #4E1451 #7D2082 #AC2CB3 #CB4AD2

Accessibility & contrast

On white

8.75
#7D2082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7D2082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2082
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2082#FFFFFF#000000##FFFFFF
##7D20821.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024485
Deuteranopia (green-blind)
#364F80
Tritanopia (blue-blind)
#80314F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2082;
/* rgb */ color: rgb(125, 32, 130);
/* oklch */ color: oklch(43.5% 0.171 325.8);
Tailwind
colors: {
  custom: {
    50: '#a666a7',
    500: '#7d2082',
    950: '#000000',
  },
}
SCSS
$custom: #7d2082;
$custom-light: #a666a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2082",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 296.939,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43469,
    "c": 0.17071,
    "h": 325.8
  },
  "luminance": 0.07005
}

Semantic roles & 50–950 ramp

primary
#7D2082
secondary
#4FB549
accent
#E4444C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D2082

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

Preview Lab → · Contrast checker → · Palette generator →

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