#7D1170#7D1170

#7D1170 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.171 H 334.1°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#7D1170
RGBrgb(125, 17, 112)
HSLhsl(307, 76%, 28%)
HSVhsv(307, 86%, 49%)
CMYKcmyk(0%, 86.4%, 10.4%, 51%)
CIE-LABlab(29.24, 52.89, -27.23)
CIE-LCHlch(29.24, 59.49, 332.76°)
OKLaboklab(41.29% 0.1538 -0.0748)
OKLCHoklch(41.29% 0.171 334.1)
XYZxyz(11.5827, 5.9318, 15.8610)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1170 #117D1E
analogous
#54117D #7D1170 #7D113A
triadic
#7D1170 #707D11 #11707D
tetradic
#7D1170 #7D5411 #117D1E #113A7D
square
#7D1170 #7D5411 #117D1E #113A7D
split-complementary
#7D1170 #3A7D11 #117D54
monochromatic
#1B0418 #470A40 #7D1170 #B318A0 #E227CB

Accessibility & contrast

On white

9.61
#7D1170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7D1170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1170
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1170#FFFFFF#000000##FFFFFF
##7D11701.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3B72
Deuteranopia (green-blind)
#3B4A6E
Tritanopia (blue-blind)
#831E42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1170;
/* rgb */ color: rgb(125, 17, 112);
/* oklch */ color: oklch(41.3% 0.171 334.1);
Tailwind
colors: {
  custom: {
    50: '#a66099',
    500: '#7d1170',
    950: '#000000',
  },
}
SCSS
$custom: #7d1170;
$custom-light: #a66099;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1170",
  "rgb": {
    "r": 125,
    "g": 17,
    "b": 112
  },
  "hsl": {
    "h": 307.222,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41286,
    "c": 0.17103,
    "h": 334.1
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

primary
#7D1170
secondary
#37B346
accent
#F34C35
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7D1170

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

Preview Lab → · Contrast checker → · Palette generator →

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