#7B136E#7B136E

#7B136E is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.167 H 334.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7B136E
RGBrgb(123, 19, 110)
HSLhsl(308, 73%, 28%)
HSVhsv(308, 85%, 48%)
CMYKcmyk(0%, 84.6%, 10.6%, 51.8%)
CIE-LABlab(28.91, 51.66, -26.50)
CIE-LCHlch(28.91, 58.06, 332.85°)
OKLaboklab(40.95% 0.1503 -0.0727)
OKLCHoklch(40.95% 0.167 334.2)
XYZxyz(11.2159, 5.8035, 15.2783)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B136E #137B20
analogous
#54137B #7B136E #7B133A
triadic
#7B136E #6E7B13 #136E7B
tetradic
#7B136E #7B5413 #137B20 #133A7B
square
#7B136E #7B5413 #137B20 #133A7B
split-complementary
#7B136E #3A7B13 #137B54
monochromatic
#1B0418 #460B3F #7B136E #B01B9D #DE2AC8

Accessibility & contrast

On white

9.72
#7B136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B136E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B136E
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B136E#FFFFFF#000000##FFFFFF
##7B136E1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103B70
Deuteranopia (green-blind)
#3A496C
Tritanopia (blue-blind)
#811F41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b136e;
/* rgb */ color: rgb(123, 19, 110);
/* oklch */ color: oklch(40.9% 0.167 334.2);
Tailwind
colors: {
  custom: {
    50: '#a56098',
    500: '#7b136e',
    950: '#000000',
  },
}
SCSS
$custom: #7b136e;
$custom-light: #a56098;
$custom-dark: #000000;
JSON
{
  "hex": "#7b136e",
  "rgb": {
    "r": 123,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 307.5,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40945,
    "c": 0.16695,
    "h": 334.2
  },
  "luminance": 0.05802
}

Semantic roles & 50–950 ramp

primary
#7B136E
secondary
#39B148
accent
#F04F38
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7B136E

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

Preview Lab → · Contrast checker → · Palette generator →

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