#7D1174#7D1174

#7D1174 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.174 H 332.2°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7D1174
RGBrgb(125, 17, 116)
HSLhsl(305, 76%, 28%)
HSVhsv(305, 86%, 49%)
CMYKcmyk(0%, 86.4%, 7.2%, 51%)
CIE-LABlab(29.47, 53.51, -29.42)
CIE-LCHlch(29.47, 61.07, 331.20°)
OKLaboklab(41.53% 0.1538 -0.0811)
OKLCHoklch(41.53% 0.174 332.2)
XYZxyz(11.8103, 6.0229, 17.0601)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1174 #117D1A
analogous
#50117D #7D1174 #7D113E
triadic
#7D1174 #747D11 #11747D
tetradic
#7D1174 #7D5011 #117D1A #113E7D
square
#7D1174 #7D5011 #117D1A #113E7D
split-complementary
#7D1174 #3E7D11 #117D50
monochromatic
#1B0419 #470A42 #7D1174 #B318A6 #E227D2

Accessibility & contrast

On white

9.53
#7D1174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7D1174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1174
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1174#FFFFFF#000000##FFFFFF
##7D11741.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1174;
/* rgb */ color: rgb(125, 17, 116);
/* oklch */ color: oklch(41.5% 0.174 332.2);
Tailwind
colors: {
  custom: {
    50: '#a6609c',
    500: '#7d1174',
    950: '#000000',
  },
}
SCSS
$custom: #7d1174;
$custom-light: #a6609c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1174",
  "rgb": {
    "r": 125,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 305,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41525,
    "c": 0.17391,
    "h": 332.2
  },
  "luminance": 0.06022
}

Semantic roles & 50–950 ramp

primary
#7D1174
secondary
#37B341
accent
#F34535
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7D1174

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

Preview Lab → · Contrast checker → · Palette generator →

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