#7C137B#7C137B

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

Color values

HEX#7C137B
RGBrgb(124, 19, 123)
HSLhsl(301, 73%, 28%)
HSVhsv(301, 85%, 49%)
CMYKcmyk(0%, 84.7%, 0.8%, 51.4%)
CIE-LABlab(29.87, 53.97, -33.25)
CIE-LCHlch(29.87, 63.39, 328.36°)
OKLaboklab(41.91% 0.1512 -0.0922)
OKLCHoklch(41.91% 0.177 328.6)
XYZxyz(12.1201, 6.1818, 19.2899)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C137B #137C14
analogous
#48137C #7C137B #7C1347
triadic
#7C137B #7B7C13 #137B7C
tetradic
#7C137B #7C4813 #137C14 #13477C
square
#7C137B #7C4813 #137C14 #13477C
split-complementary
#7C137B #477C13 #137C48
monochromatic
#1B041A #470B46 #7C137B #B11BB0 #DF2BDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C137B#FFFFFF#000000##FFFFFF
##7C137B1.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)
#003E7E
Deuteranopia (green-blind)
#344B79
Tritanopia (blue-blind)
#802648
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c137b;
/* rgb */ color: rgb(124, 19, 123);
/* oklch */ color: oklch(41.9% 0.177 328.6);
Tailwind
colors: {
  custom: {
    50: '#a661a2',
    500: '#7c137b',
    950: '#000000',
  },
}
SCSS
$custom: #7c137b;
$custom-light: #a661a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c137b",
  "rgb": {
    "r": 124,
    "g": 19,
    "b": 123
  },
  "hsl": {
    "h": 300.571,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41907,
    "c": 0.17714,
    "h": 328.6
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#7C137B
secondary
#39B23A
accent
#F03938
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C137B

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

Preview Lab → · Contrast checker → · Palette generator →

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