#7E136F#7E136F

#7E136F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.169 H 335.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7E136F
RGBrgb(126, 19, 111)
HSLhsl(308, 74%, 28%)
HSVhsv(308, 85%, 49%)
CMYKcmyk(0%, 84.9%, 11.9%, 50.6%)
CIE-LABlab(29.54, 52.48, -26.11)
CIE-LCHlch(29.54, 58.62, 333.55°)
OKLaboklab(41.52% 0.1534 -0.0715)
OKLCHoklch(41.52% 0.169 335)
XYZxyz(11.7065, 6.0502, 15.5871)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E136F #137E22
analogous
#57137E #7E136F #7E1339
triadic
#7E136F #6F7E13 #136F7E
tetradic
#7E136F #7E5713 #137E22 #13397E
square
#7E136F #7E5713 #137E22 #13397E
split-complementary
#7E136F #397E13 #137E57
monochromatic
#1B0417 #490B40 #7E136F #B31B9E #DF2CC6

Accessibility & contrast

On white

9.50
#7E136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E136F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E136F#FFFFFF#000000##FFFFFF
##7E136F1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123C71
Deuteranopia (green-blind)
#3D4B6D
Tritanopia (blue-blind)
#851E42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e136f;
/* rgb */ color: rgb(126, 19, 111);
/* oklch */ color: oklch(41.5% 0.169 335.0);
Tailwind
colors: {
  custom: {
    50: '#a76198',
    500: '#7e136f',
    950: '#000000',
  },
}
SCSS
$custom: #7e136f;
$custom-light: #a76198;
$custom-dark: #000000;
JSON
{
  "hex": "#7e136f",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 308.411,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41517,
    "c": 0.16924,
    "h": 335
  },
  "luminance": 0.06049
}

Semantic roles & 50–950 ramp

primary
#7E136F
secondary
#39B44A
accent
#F05137
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E136F

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

Preview Lab → · Contrast checker → · Palette generator →

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