#7D2281#7D2281

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

Color values

HEX#7D2281
RGBrgb(125, 34, 129)
HSLhsl(297, 58%, 32%)
HSVhsv(297, 74%, 51%)
CMYKcmyk(3.1%, 73.6%, 0%, 49.4%)
CIE-LABlab(32.01, 50.62, -33.59)
CIE-LCHlch(32.01, 60.75, 326.43°)
OKLaboklab(43.59% 0.1392 -0.0933)
OKLCHoklch(43.59% 0.168 326.2)
XYZxyz(12.9917, 7.0899, 21.4488)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2281 #268122
analogous
#4E2281 #7D2281 #812256
triadic
#7D2281 #817D22 #22817D
tetradic
#7D2281 #814E22 #268122 #225681
square
#7D2281 #814E22 #268122 #225681
split-complementary
#7D2281 #568122 #22814E
monochromatic
#1F0820 #4E1551 #7D2281 #AC2FB1 #CB4DD0

Accessibility & contrast

On white

8.69
#7D2281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2281
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2281#FFFFFF#000000##FFFFFF
##7D22811.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4484
Deuteranopia (green-blind)
#384F7F
Tritanopia (blue-blind)
#80314F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2281;
/* rgb */ color: rgb(125, 34, 129);
/* oklch */ color: oklch(43.6% 0.168 326.2);
Tailwind
colors: {
  custom: {
    50: '#a667a6',
    500: '#7d2281',
    950: '#000000',
  },
}
SCSS
$custom: #7d2281;
$custom-light: #a667a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2281",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 297.474,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43586,
    "c": 0.16757,
    "h": 326.2
  },
  "luminance": 0.07089
}

Semantic roles & 50–950 ramp

primary
#7D2281
secondary
#50B34B
accent
#E1464D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D2281

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

Preview Lab → · Contrast checker → · Palette generator →

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