#7D146E#7D146E

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

Color values

HEX#7D146E
RGBrgb(125, 20, 110)
HSLhsl(309, 72%, 28%)
HSVhsv(309, 84%, 49%)
CMYKcmyk(0%, 84%, 12%, 51%)
CIE-LABlab(29.38, 51.86, -25.73)
CIE-LCHlch(29.38, 57.89, 333.61°)
OKLaboklab(41.35% 0.1516 -0.0704)
OKLCHoklch(41.35% 0.167 335.1)
XYZxyz(11.5222, 5.9871, 15.2976)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D146E #147D23
analogous
#57147D #7D146E #7D1439
triadic
#7D146E #6E7D14 #146E7D
tetradic
#7D146E #7D5714 #147D23 #14397D
square
#7D146E #7D5714 #147D23 #14397D
split-complementary
#7D146E #397D14 #147D57
monochromatic
#1A0417 #480C40 #7D146E #B21C9C #DE2EC4

Accessibility & contrast

On white

9.56
#7D146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D146E
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D146E#FFFFFF#000000##FFFFFF
##7D146E1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133B70
Deuteranopia (green-blind)
#3C4B6C
Tritanopia (blue-blind)
#841F41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d146e;
/* rgb */ color: rgb(125, 20, 110);
/* oklch */ color: oklch(41.3% 0.167 335.1);
Tailwind
colors: {
  custom: {
    50: '#a66198',
    500: '#7d146e',
    950: '#000000',
  },
}
SCSS
$custom: #7d146e;
$custom-light: #a66198;
$custom-dark: #000000;
JSON
{
  "hex": "#7d146e",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 308.571,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4135,
    "c": 0.16716,
    "h": 335.1
  },
  "luminance": 0.05986
}

Semantic roles & 50–950 ramp

primary
#7D146E
secondary
#3AB24C
accent
#EF5339
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D146E

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

Preview Lab → · Contrast checker → · Palette generator →

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