#7D1274#7D1274

#7D1274 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.173 H 332.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7D1274
RGBrgb(125, 18, 116)
HSLhsl(305, 75%, 28%)
HSVhsv(305, 86%, 49%)
CMYKcmyk(0%, 85.6%, 7.2%, 51%)
CIE-LABlab(29.55, 53.28, -29.30)
CIE-LCHlch(29.55, 60.80, 331.19°)
OKLaboklab(41.58% 0.1532 -0.0807)
OKLCHoklch(41.58% 0.173 332.2)
XYZxyz(11.8262, 6.0546, 17.0654)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1274 #127D1B
analogous
#50127D #7D1274 #7D123E
triadic
#7D1274 #747D12 #12747D
tetradic
#7D1274 #7D5012 #127D1B #123E7D
square
#7D1274 #7D5012 #127D1B #123E7D
split-complementary
#7D1274 #3E7D12 #127D50
monochromatic
#1B0419 #480A42 #7D1274 #B21AA6 #E029D1

Accessibility & contrast

On white

9.50
#7D1274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7D1274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1274
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1274#FFFFFF#000000##FFFFFF
##7D12741.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063C76
Deuteranopia (green-blind)
#394B72
Tritanopia (blue-blind)
#832144
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1274;
/* rgb */ color: rgb(125, 18, 116);
/* oklch */ color: oklch(41.6% 0.173 332.2);
Tailwind
colors: {
  custom: {
    50: '#a6609c',
    500: '#7d1274',
    950: '#000000',
  },
}
SCSS
$custom: #7d1274;
$custom-light: #a6609c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1274",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 305.047,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41581,
    "c": 0.17315,
    "h": 332.2
  },
  "luminance": 0.06054
}

Semantic roles & 50–950 ramp

primary
#7D1274
secondary
#38B342
accent
#F14636
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1274

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

Preview Lab → · Contrast checker → · Palette generator →

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