#7E136E#7E136E

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

Color values

HEX#7E136E
RGBrgb(126, 19, 110)
HSLhsl(309, 74%, 28%)
HSVhsv(309, 85%, 49%)
CMYKcmyk(0%, 84.9%, 12.7%, 50.6%)
CIE-LABlab(29.48, 52.33, -25.55)
CIE-LCHlch(29.48, 58.24, 333.97°)
OKLaboklab(41.46% 0.1533 -0.0699)
OKLCHoklch(41.46% 0.169 335.5)
XYZxyz(11.6517, 6.0283, 15.2988)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E136E #137E23
analogous
#58137E #7E136E #7E1338
triadic
#7E136E #6E7E13 #136E7E
tetradic
#7E136E #7E5813 #137E23 #13387E
square
#7E136E #7E5813 #137E23 #13387E
split-complementary
#7E136E #387E13 #137E58
monochromatic
#1B0417 #490B40 #7E136E #B31B9C #DF2CC4

Accessibility & contrast

On white

9.52
#7E136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E136E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E136E#FFFFFF#000000##FFFFFF
##7E136E1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133C70
Deuteranopia (green-blind)
#3D4B6C
Tritanopia (blue-blind)
#851E41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e136e;
/* rgb */ color: rgb(126, 19, 110);
/* oklch */ color: oklch(41.5% 0.169 335.5);
Tailwind
colors: {
  custom: {
    50: '#a76198',
    500: '#7e136e',
    950: '#000000',
  },
}
SCSS
$custom: #7e136e;
$custom-light: #a76198;
$custom-dark: #000000;
JSON
{
  "hex": "#7e136e",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 308.972,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4146,
    "c": 0.16853,
    "h": 335.5
  },
  "luminance": 0.06027
}

Semantic roles & 50–950 ramp

primary
#7E136E
secondary
#39B44C
accent
#F05337
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E136E

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

Preview Lab → · Contrast checker → · Palette generator →

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