#7D2184#7D2184

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

Color values

HEX#7D2184
RGBrgb(125, 33, 132)
HSLhsl(296, 60%, 32%)
HSVhsv(296, 75%, 52%)
CMYKcmyk(5.3%, 75%, 0%, 48.2%)
CIE-LABlab(32.07, 51.52, -35.38)
CIE-LCHlch(32.07, 62.50, 325.53°)
OKLaboklab(43.68% 0.1401 -0.0985)
OKLCHoklch(43.68% 0.171 324.9)
XYZxyz(13.1658, 7.1145, 22.5051)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2184 #288421
analogous
#4C2184 #7D2184 #842159
triadic
#7D2184 #847D21 #21847D
tetradic
#7D2184 #844C21 #288421 #215984
square
#7D2184 #844C21 #288421 #215984
split-complementary
#7D2184 #598421 #21844C
monochromatic
#200922 #4F1553 #7D2184 #AB2DB5 #C94DD2

Accessibility & contrast

On white

8.67
#7D2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7D2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2184
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2184#FFFFFF#000000##FFFFFF
##7D21841.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2184;
/* rgb */ color: rgb(125, 33, 132);
/* oklch */ color: oklch(43.7% 0.171 324.9);
Tailwind
colors: {
  custom: {
    50: '#a667a8',
    500: '#7d2184',
    950: '#000000',
  },
}
SCSS
$custom: #7d2184;
$custom-light: #a667a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2184",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 295.758,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43684,
    "c": 0.17127,
    "h": 324.9
  },
  "luminance": 0.07114
}

Semantic roles & 50–950 ramp

primary
#7D2184
secondary
#53B64B
accent
#E34550
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D2184

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

Preview Lab → · Contrast checker → · Palette generator →

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