#7D2282#7D2282

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

Color values

HEX#7D2282
RGBrgb(125, 34, 130)
HSLhsl(297, 59%, 32%)
HSVhsv(297, 74%, 51%)
CMYKcmyk(3.8%, 73.8%, 0%, 49%)
CIE-LABlab(32.07, 50.80, -34.12)
CIE-LCHlch(32.07, 61.20, 326.11°)
OKLaboklab(43.65% 0.1392 -0.0948)
OKLCHoklch(43.65% 0.168 325.7)
XYZxyz(13.0585, 7.1166, 21.8006)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2282 #278222
analogous
#4D2282 #7D2282 #822257
triadic
#7D2282 #827D22 #22827D
tetradic
#7D2282 #824D22 #278222 #225782
square
#7D2282 #824D22 #278222 #225782
split-complementary
#7D2282 #578222 #22824D
monochromatic
#200921 #4E1551 #7D2282 #AC2FB3 #CA4ED1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D2282#FFFFFF#000000##FFFFFF
##7D22821.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)
#084485
Deuteranopia (green-blind)
#374F80
Tritanopia (blue-blind)
#803250
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2282;
/* rgb */ color: rgb(125, 34, 130);
/* oklch */ color: oklch(43.6% 0.168 325.7);
Tailwind
colors: {
  custom: {
    50: '#a667a7',
    500: '#7d2282',
    950: '#000000',
  },
}
SCSS
$custom: #7d2282;
$custom-light: #a667a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2282",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 296.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43648,
    "c": 0.16842,
    "h": 325.7
  },
  "luminance": 0.07116
}

Semantic roles & 50–950 ramp

primary
#7D2282
secondary
#51B44C
accent
#E2464E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D2282

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

Preview Lab → · Contrast checker → · Palette generator →

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