#7D146F#7D146F

#7D146F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.168 H 334.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7D146F
RGBrgb(125, 20, 111)
HSLhsl(308, 72%, 28%)
HSVhsv(308, 84%, 49%)
CMYKcmyk(0%, 84%, 11.2%, 51%)
CIE-LABlab(29.44, 52.01, -26.29)
CIE-LCHlch(29.44, 58.27, 333.19°)
OKLaboklab(41.41% 0.1516 -0.072)
OKLCHoklch(41.41% 0.168 334.6)
XYZxyz(11.5770, 6.0090, 15.5860)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D146F #147D22
analogous
#56147D #7D146F #7D143A
triadic
#7D146F #6F7D14 #146F7D
tetradic
#7D146F #7D5614 #147D22 #143A7D
square
#7D146F #7D5614 #147D22 #143A7D
split-complementary
#7D146F #3A7D14 #147D56
monochromatic
#1A0417 #480C40 #7D146F #B21C9E #DE2EC6

Accessibility & contrast

On white

9.54
#7D146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D146F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D146F#FFFFFF#000000##FFFFFF
##7D146F1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123C71
Deuteranopia (green-blind)
#3C4B6D
Tritanopia (blue-blind)
#831F42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d146f;
/* rgb */ color: rgb(125, 20, 111);
/* oklch */ color: oklch(41.4% 0.168 334.6);
Tailwind
colors: {
  custom: {
    50: '#a66198',
    500: '#7d146f',
    950: '#000000',
  },
}
SCSS
$custom: #7d146f;
$custom-light: #a66198;
$custom-dark: #000000;
JSON
{
  "hex": "#7d146f",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 308,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41408,
    "c": 0.16787,
    "h": 334.6
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#7D146F
secondary
#3AB24A
accent
#EF5139
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D146F

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

Preview Lab → · Contrast checker → · Palette generator →

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