#7C146D#7C146D

#7C146D is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.166 H 335.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7C146D
RGBrgb(124, 20, 109)
HSLhsl(309, 72%, 28%)
HSVhsv(309, 84%, 49%)
CMYKcmyk(0%, 83.9%, 12.1%, 51.4%)
CIE-LABlab(29.13, 51.48, -25.49)
CIE-LCHlch(29.13, 57.44, 333.66°)
OKLaboklab(41.12% 0.1505 -0.0698)
OKLCHoklch(41.12% 0.166 335.1)
XYZxyz(11.3228, 5.8906, 15.0057)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C146D #147C23
analogous
#57147C #7C146D #7C1439
triadic
#7C146D #6D7C14 #146D7C
tetradic
#7C146D #7C5714 #147C23 #14397C
square
#7C146D #7C5714 #147C23 #14397C
split-complementary
#7C146D #397C14 #147C57
monochromatic
#1A0417 #470B3F #7C146D #B11D9B #DD2DC4

Accessibility & contrast

On white

9.64
#7C146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7C146D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C146D
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C146D#FFFFFF#000000##FFFFFF
##7C146D1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133B6F
Deuteranopia (green-blind)
#3C4A6B
Tritanopia (blue-blind)
#831E41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c146d;
/* rgb */ color: rgb(124, 20, 109);
/* oklch */ color: oklch(41.1% 0.166 335.1);
Tailwind
colors: {
  custom: {
    50: '#a66197',
    500: '#7c146d',
    950: '#000000',
  },
}
SCSS
$custom: #7c146d;
$custom-light: #a66197;
$custom-dark: #000000;
JSON
{
  "hex": "#7c146d",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 308.654,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41122,
    "c": 0.1659,
    "h": 335.1
  },
  "luminance": 0.0589
}

Semantic roles & 50–950 ramp

primary
#7C146D
secondary
#3AB24B
accent
#EF5339
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7C146D

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

Preview Lab → · Contrast checker → · Palette generator →

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