#7B137E#7B137E

#7B137E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.179 H 326.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7B137E
RGBrgb(123, 19, 126)
HSLhsl(298, 74%, 28%)
HSVhsv(298, 85%, 49%)
CMYKcmyk(2.4%, 84.9%, 0%, 50.6%)
CIE-LABlab(29.87, 54.27, -35.14)
CIE-LCHlch(29.87, 64.65, 327.07°)
OKLaboklab(41.94% 0.1499 -0.0978)
OKLCHoklch(41.94% 0.179 326.9)
XYZxyz(12.1669, 6.1839, 20.2874)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B137E #167E13
analogous
#45137E #7B137E #7E134B
triadic
#7B137E #7E7B13 #137E7B
tetradic
#7B137E #7E4513 #167E13 #134B7E
square
#7B137E #7E4513 #167E13 #134B7E
split-complementary
#7B137E #4B7E13 #137E45
monochromatic
#1A041B #470B49 #7B137E #AF1BB3 #DA2CDF

Accessibility & contrast

On white

9.39
#7B137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7B137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B137E
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B137E#FFFFFF#000000##FFFFFF
##7B137E1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#314B7C
Tritanopia (blue-blind)
#7F284A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b137e;
/* rgb */ color: rgb(123, 19, 126);
/* oklch */ color: oklch(41.9% 0.179 326.9);
Tailwind
colors: {
  custom: {
    50: '#a561a4',
    500: '#7b137e',
    950: '#000000',
  },
}
SCSS
$custom: #7b137e;
$custom-light: #a561a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b137e",
  "rgb": {
    "r": 123,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 298.318,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41937,
    "c": 0.179,
    "h": 326.9
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#7B137E
secondary
#3DB439
accent
#F0373D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B137E

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

Preview Lab → · Contrast checker → · Palette generator →

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