#7D2284#7D2284

#7D2284 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.170 H 324.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#7D2284
RGBrgb(125, 34, 132)
HSLhsl(296, 59%, 33%)
HSVhsv(296, 74%, 52%)
CMYKcmyk(5.3%, 74.2%, 0%, 48.2%)
CIE-LABlab(32.19, 51.16, -35.18)
CIE-LCHlch(32.19, 62.09, 325.49°)
OKLaboklab(43.78% 0.1391 -0.0979)
OKLCHoklch(43.78% 0.17 324.9)
XYZxyz(13.1940, 7.1708, 22.5145)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2284 #298422
analogous
#4C2284 #7D2284 #84225A
triadic
#7D2284 #847D22 #22847D
tetradic
#7D2284 #844C22 #298422 #225A84
square
#7D2284 #844C22 #298422 #225A84
split-complementary
#7D2284 #5A8422 #22844C
monochromatic
#210923 #4F1553 #7D2284 #AB2FB5 #C84FD2

Accessibility & contrast

On white

8.63
#7D2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7D2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2284
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2284#FFFFFF#000000##FFFFFF
##7D22841.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034587
Deuteranopia (green-blind)
#364F82
Tritanopia (blue-blind)
#803351
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2284;
/* rgb */ color: rgb(125, 34, 132);
/* oklch */ color: oklch(43.8% 0.170 324.9);
Tailwind
colors: {
  custom: {
    50: '#a667a8',
    500: '#7d2284',
    950: '#000000',
  },
}
SCSS
$custom: #7d2284;
$custom-light: #a667a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2284",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 295.714,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43775,
    "c": 0.17013,
    "h": 324.9
  },
  "luminance": 0.0717
}

Semantic roles & 50–950 ramp

primary
#7D2284
secondary
#54B54D
accent
#E24651
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D2284

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

Preview Lab → · Contrast checker → · Palette generator →

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