#7D2381#7D2381

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

Color values

HEX#7D2381
RGBrgb(125, 35, 129)
HSLhsl(297, 57%, 32%)
HSVhsv(297, 73%, 51%)
CMYKcmyk(3.1%, 72.9%, 0%, 49.4%)
CIE-LABlab(32.14, 50.25, -33.39)
CIE-LCHlch(32.14, 60.33, 326.40°)
OKLaboklab(43.68% 0.1382 -0.0927)
OKLCHoklch(43.68% 0.166 326.1)
XYZxyz(13.0207, 7.1479, 21.4585)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2381 #278123
analogous
#4E2381 #7D2381 #812356
triadic
#7D2381 #817D23 #23817D
tetradic
#7D2381 #814E23 #278123 #235681
square
#7D2381 #814E23 #278123 #235681
split-complementary
#7D2381 #568123 #23814E
monochromatic
#200921 #4E1651 #7D2381 #AC30B1 #CA4FCF

Accessibility & contrast

On white

8.64
#7D2381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2381
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2381#FFFFFF#000000##FFFFFF
##7D23811.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4484
Deuteranopia (green-blind)
#384F7F
Tritanopia (blue-blind)
#803250
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2381;
/* rgb */ color: rgb(125, 35, 129);
/* oklch */ color: oklch(43.7% 0.166 326.1);
Tailwind
colors: {
  custom: {
    50: '#a667a6',
    500: '#7d2381',
    950: '#000000',
  },
}
SCSS
$custom: #7d2381;
$custom-light: #a667a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2381",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 297.447,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43679,
    "c": 0.16637,
    "h": 326.1
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

primary
#7D2381
secondary
#51B34D
accent
#E1474E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2381

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

Preview Lab → · Contrast checker → · Palette generator →

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