#7D2884#7D2884

#7D2884 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.163 H 324.6°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7D2884
RGBrgb(125, 40, 132)
HSLhsl(295, 53%, 34%)
HSVhsv(295, 70%, 52%)
CMYKcmyk(5.3%, 69.7%, 0%, 48.2%)
CIE-LABlab(33.02, 48.83, -33.87)
CIE-LCHlch(33.02, 59.43, 325.26°)
OKLaboklab(44.36% 0.1327 -0.0941)
OKLCHoklch(44.36% 0.163 324.6)
XYZxyz(13.3808, 7.5443, 22.5767)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2884 #2F8428
analogous
#4F2884 #7D2884 #84285D
triadic
#7D2884 #847D28 #28847D
tetradic
#7D2884 #844F28 #2F8428 #285D84
square
#7D2884 #844F28 #2F8428 #285D84
split-complementary
#7D2884 #5D8428 #28844F
monochromatic
#240C26 #511A55 #7D2884 #A936B3 #C45ACD

Accessibility & contrast

On white

8.37
#7D2884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7D2884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2884
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2884#FFFFFF#000000##FFFFFF
##7D28841.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134787
Deuteranopia (green-blind)
#395182
Tritanopia (blue-blind)
#803753
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2884;
/* rgb */ color: rgb(125, 40, 132);
/* oklch */ color: oklch(44.4% 0.163 324.6);
Tailwind
colors: {
  custom: {
    50: '#a66aa8',
    500: '#7d2884',
    950: '#000000',
  },
}
SCSS
$custom: #7d2884;
$custom-light: #a66aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2884",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 295.435,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44364,
    "c": 0.16269,
    "h": 324.6
  },
  "luminance": 0.07544
}

Semantic roles & 50–950 ramp

primary
#7D2884
secondary
#5DB256
accent
#DD4B56
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2884

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

Preview Lab → · Contrast checker → · Palette generator →

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