#7D1279#7D1279

#7D1279 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.177 H 329.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7D1279
RGBrgb(125, 18, 121)
HSLhsl(302, 75%, 28%)
HSVhsv(302, 86%, 49%)
CMYKcmyk(0%, 85.6%, 3.2%, 51%)
CIE-LABlab(29.85, 54.08, -32.00)
CIE-LCHlch(29.85, 62.84, 329.39°)
OKLaboklab(41.89% 0.1531 -0.0886)
OKLCHoklch(41.89% 0.177 329.9)
XYZxyz(12.1249, 6.1741, 18.6386)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1279 #127D16
analogous
#4B127D #7D1279 #7D1243
triadic
#7D1279 #797D12 #12797D
tetradic
#7D1279 #7D4B12 #127D16 #12437D
square
#7D1279 #7D4B12 #127D16 #12437D
split-complementary
#7D1279 #437D12 #127D4B
monochromatic
#1B041A #480A45 #7D1279 #B21AAD #E029D9

Accessibility & contrast

On white

9.40
#7D1279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7D1279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1279
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1279#FFFFFF#000000##FFFFFF
##7D12791.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#822447
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1279;
/* rgb */ color: rgb(125, 18, 121);
/* oklch */ color: oklch(41.9% 0.177 329.9);
Tailwind
colors: {
  custom: {
    50: '#a661a0',
    500: '#7d1279',
    950: '#000000',
  },
}
SCSS
$custom: #7d1279;
$custom-light: #a661a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1279",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 121
  },
  "hsl": {
    "h": 302.243,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41889,
    "c": 0.17686,
    "h": 329.9
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#7D1279
secondary
#38B33D
accent
#F13D36
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7D1279

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

Preview Lab → · Contrast checker → · Palette generator →

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