#7D2084#7D2084

#7D2084 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.172 H 324.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#7D2084
RGBrgb(125, 32, 132)
HSLhsl(296, 61%, 32%)
HSVhsv(296, 76%, 52%)
CMYKcmyk(5.3%, 75.8%, 0%, 48.2%)
CIE-LABlab(31.94, 51.88, -35.58)
CIE-LCHlch(31.94, 62.90, 325.56°)
OKLaboklab(43.6% 0.1411 -0.0991)
OKLCHoklch(43.6% 0.172 324.9)
XYZxyz(13.1385, 7.0598, 22.4960)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2084 #278420
analogous
#4B2084 #7D2084 #842059
triadic
#7D2084 #847D20 #20847D
tetradic
#7D2084 #844B20 #278420 #205984
square
#7D2084 #844B20 #278420 #205984
split-complementary
#7D2084 #598420 #20844B
monochromatic
#200821 #4E1453 #7D2084 #AC2CB5 #CA4BD3

Accessibility & contrast

On white

8.71
#7D2084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7D2084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2084
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2084#FFFFFF#000000##FFFFFF
##7D20841.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#354F82
Tritanopia (blue-blind)
#803250
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2084;
/* rgb */ color: rgb(125, 32, 132);
/* oklch */ color: oklch(43.6% 0.172 324.9);
Tailwind
colors: {
  custom: {
    50: '#a666a8',
    500: '#7d2084',
    950: '#000000',
  },
}
SCSS
$custom: #7d2084;
$custom-light: #a666a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2084",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 295.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43596,
    "c": 0.1724,
    "h": 324.9
  },
  "luminance": 0.07059
}

Semantic roles & 50–950 ramp

primary
#7D2084
secondary
#51B64A
accent
#E4444F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D2084

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

Preview Lab → · Contrast checker → · Palette generator →

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