#7D146D#7D146D

#7D146D is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.166 H 335.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7D146D
RGBrgb(125, 20, 109)
HSLhsl(309, 72%, 28%)
HSVhsv(309, 84%, 49%)
CMYKcmyk(0%, 84%, 12.8%, 51%)
CIE-LABlab(29.33, 51.70, -25.18)
CIE-LCHlch(29.33, 57.51, 334.04°)
OKLaboklab(41.29% 0.1515 -0.0688)
OKLCHoklch(41.29% 0.166 335.6)
XYZxyz(11.4681, 5.9655, 15.0125)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D146D #147D24
analogous
#58147D #7D146D #7D1438
triadic
#7D146D #6D7D14 #146D7D
tetradic
#7D146D #7D5814 #147D24 #14387D
square
#7D146D #7D5814 #147D24 #14387D
split-complementary
#7D146D #387D14 #147D58
monochromatic
#1A0417 #480C3F #7D146D #B21C9B #DE2EC3

Accessibility & contrast

On white

9.58
#7D146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D146D
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D146D#FFFFFF#000000##FFFFFF
##7D146D1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153B6F
Deuteranopia (green-blind)
#3D4A6B
Tritanopia (blue-blind)
#841E41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d146d;
/* rgb */ color: rgb(125, 20, 109);
/* oklch */ color: oklch(41.3% 0.166 335.6);
Tailwind
colors: {
  custom: {
    50: '#a66197',
    500: '#7d146d',
    950: '#000000',
  },
}
SCSS
$custom: #7d146d;
$custom-light: #a66197;
$custom-dark: #000000;
JSON
{
  "hex": "#7d146d",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 309.143,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41293,
    "c": 0.16644,
    "h": 335.6
  },
  "luminance": 0.05964
}

Semantic roles & 50–950 ramp

primary
#7D146D
secondary
#3AB24D
accent
#EF5439
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D146D

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

Preview Lab → · Contrast checker → · Palette generator →

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