#7B137F#7B137F

#7B137F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.180 H 326.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7B137F
RGBrgb(123, 19, 127)
HSLhsl(298, 74%, 29%)
HSVhsv(298, 85%, 50%)
CMYKcmyk(3.1%, 85%, 0%, 50.2%)
CIE-LABlab(29.94, 54.44, -35.67)
CIE-LCHlch(29.94, 65.08, 326.77°)
OKLaboklab(42% 0.1499 -0.0993)
OKLCHoklch(42% 0.18 326.5)
XYZxyz(12.2318, 6.2099, 20.6289)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B137F #177F13
analogous
#45137F #7B137F #7F134D
triadic
#7B137F #7F7B13 #137F7B
tetradic
#7B137F #7F4513 #177F13 #134D7F
square
#7B137F #7F4513 #177F13 #134D7F
split-complementary
#7B137F #4D7F13 #137F45
monochromatic
#1A041B #470B4A #7B137F #AF1BB4 #D92DE0

Accessibility & contrast

On white

9.37
#7B137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B137F
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B137F#FFFFFF#000000##FFFFFF
##7B137F1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#304B7D
Tritanopia (blue-blind)
#7E294B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b137f;
/* rgb */ color: rgb(123, 19, 127);
/* oklch */ color: oklch(42.0% 0.180 326.5);
Tailwind
colors: {
  custom: {
    50: '#a561a5',
    500: '#7b137f',
    950: '#000000',
  },
}
SCSS
$custom: #7b137f;
$custom-light: #a561a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b137f",
  "rgb": {
    "r": 123,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 297.778,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42002,
    "c": 0.17977,
    "h": 326.5
  },
  "luminance": 0.06209
}

Semantic roles & 50–950 ramp

primary
#7B137F
secondary
#3EB439
accent
#F1373E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B137F

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

Preview Lab → · Contrast checker → · Palette generator →

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