#7D136E#7D136E

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

Color values

HEX#7D136E
RGBrgb(125, 19, 110)
HSLhsl(308, 74%, 28%)
HSVhsv(308, 85%, 49%)
CMYKcmyk(0%, 84.8%, 12%, 51%)
CIE-LABlab(29.29, 52.11, -25.87)
CIE-LCHlch(29.29, 58.18, 333.60°)
OKLaboklab(41.29% 0.1523 -0.0708)
OKLCHoklch(41.29% 0.168 335.1)
XYZxyz(11.5050, 5.9526, 15.2919)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D136E #137D22
analogous
#57137D #7D136E #7D1339
triadic
#7D136E #6E7D13 #136E7D
tetradic
#7D136E #7D5713 #137D22 #13397D
square
#7D136E #7D5713 #137D22 #13397D
split-complementary
#7D136E #397D13 #137D57
monochromatic
#1B0417 #480B3F #7D136E #B21B9D #DF2CC5

Accessibility & contrast

On white

9.59
#7D136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D136E
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D136E#FFFFFF#000000##FFFFFF
##7D136E1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123B70
Deuteranopia (green-blind)
#3C4A6C
Tritanopia (blue-blind)
#841E41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d136e;
/* rgb */ color: rgb(125, 19, 110);
/* oklch */ color: oklch(41.3% 0.168 335.1);
Tailwind
colors: {
  custom: {
    50: '#a66098',
    500: '#7d136e',
    950: '#000000',
  },
}
SCSS
$custom: #7d136e;
$custom-light: #a66098;
$custom-dark: #000000;
JSON
{
  "hex": "#7d136e",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 308.491,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41288,
    "c": 0.168,
    "h": 335.1
  },
  "luminance": 0.05952
}

Semantic roles & 50–950 ramp

primary
#7D136E
secondary
#39B34A
accent
#F05238
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7D136E

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

Preview Lab → · Contrast checker → · Palette generator →

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