#7D1276#7D1276

#7D1276 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.175 H 331.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7D1276
RGBrgb(125, 18, 118)
HSLhsl(304, 75%, 28%)
HSVhsv(304, 86%, 49%)
CMYKcmyk(0%, 85.6%, 5.6%, 51%)
CIE-LABlab(29.67, 53.60, -30.38)
CIE-LCHlch(29.67, 61.61, 330.45°)
OKLaboklab(41.7% 0.1532 -0.0839)
OKLCHoklch(41.7% 0.175 331.3)
XYZxyz(11.9438, 6.1016, 17.6847)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1276 #127D19
analogous
#4E127D #7D1276 #7D1240
triadic
#7D1276 #767D12 #12767D
tetradic
#7D1276 #7D4E12 #127D19 #12407D
square
#7D1276 #7D4E12 #127D19 #12407D
split-complementary
#7D1276 #407D12 #127D4E
monochromatic
#1B0419 #480A43 #7D1276 #B21AA9 #E029D4

Accessibility & contrast

On white

9.46
#7D1276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7D1276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1276
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1276#FFFFFF#000000##FFFFFF
##7D12761.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023D78
Deuteranopia (green-blind)
#384B74
Tritanopia (blue-blind)
#822245
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1276;
/* rgb */ color: rgb(125, 18, 118);
/* oklch */ color: oklch(41.7% 0.175 331.3);
Tailwind
colors: {
  custom: {
    50: '#a6619e',
    500: '#7d1276',
    950: '#000000',
  },
}
SCSS
$custom: #7d1276;
$custom-light: #a6619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1276",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 303.925,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41703,
    "c": 0.17462,
    "h": 331.3
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#7D1276
secondary
#38B340
accent
#F14336
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1276

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

Preview Lab → · Contrast checker → · Palette generator →

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