#7D1277#7D1277

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

Color values

HEX#7D1277
RGBrgb(125, 18, 119)
HSLhsl(303, 75%, 28%)
HSVhsv(303, 86%, 49%)
CMYKcmyk(0%, 85.6%, 4.8%, 51%)
CIE-LABlab(29.73, 53.76, -30.93)
CIE-LCHlch(29.73, 62.02, 330.09°)
OKLaboklab(41.76% 0.1531 -0.0854)
OKLCHoklch(41.76% 0.175 330.8)
XYZxyz(12.0035, 6.1255, 17.9993)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1277 #127D18
analogous
#4D127D #7D1277 #7D1242
triadic
#7D1277 #777D12 #12777D
tetradic
#7D1277 #7D4D12 #127D18 #12427D
square
#7D1277 #7D4D12 #127D18 #12427D
split-complementary
#7D1277 #427D12 #127D4D
monochromatic
#1B0419 #480A44 #7D1277 #B21AAA #E029D6

Accessibility & contrast

On white

9.44
#7D1277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1277
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1277#FFFFFF#000000##FFFFFF
##7D12771.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#374B75
Tritanopia (blue-blind)
#822346
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1277;
/* rgb */ color: rgb(125, 18, 119);
/* oklch */ color: oklch(41.8% 0.175 330.8);
Tailwind
colors: {
  custom: {
    50: '#a6619e',
    500: '#7d1277',
    950: '#000000',
  },
}
SCSS
$custom: #7d1277;
$custom-light: #a6619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1277",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 119
  },
  "hsl": {
    "h": 303.364,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41764,
    "c": 0.17537,
    "h": 330.8
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

primary
#7D1277
secondary
#38B33F
accent
#F14136
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1277

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

Preview Lab → · Contrast checker → · Palette generator →

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