#7C146E#7C146E

#7C146E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.167 H 334.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7C146E
RGBrgb(124, 20, 110)
HSLhsl(308, 72%, 28%)
HSVhsv(308, 84%, 49%)
CMYKcmyk(0%, 83.9%, 11.3%, 51.4%)
CIE-LABlab(29.19, 51.63, -26.04)
CIE-LCHlch(29.19, 57.83, 333.23°)
OKLaboklab(41.18% 0.1506 -0.0714)
OKLCHoklch(41.18% 0.167 334.6)
XYZxyz(11.3770, 5.9122, 15.2908)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C146E #147C22
analogous
#56147C #7C146E #7C143A
triadic
#7C146E #6E7C14 #146E7C
tetradic
#7C146E #7C5614 #147C22 #143A7C
square
#7C146E #7C5614 #147C22 #143A7C
split-complementary
#7C146E #3A7C14 #147C56
monochromatic
#1A0417 #470B3F #7C146E #B11D9D #DD2DC5

Accessibility & contrast

On white

9.62
#7C146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C146E
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C146E#FFFFFF#000000##FFFFFF
##7C146E1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123B70
Deuteranopia (green-blind)
#3C4A6C
Tritanopia (blue-blind)
#821F41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c146e;
/* rgb */ color: rgb(124, 20, 110);
/* oklch */ color: oklch(41.2% 0.167 334.6);
Tailwind
colors: {
  custom: {
    50: '#a66198',
    500: '#7c146e',
    950: '#000000',
  },
}
SCSS
$custom: #7c146e;
$custom-light: #a66198;
$custom-dark: #000000;
JSON
{
  "hex": "#7c146e",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 308.077,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41179,
    "c": 0.16663,
    "h": 334.6
  },
  "luminance": 0.05911
}

Semantic roles & 50–950 ramp

primary
#7C146E
secondary
#3AB24A
accent
#EF5139
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7C146E

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

Preview Lab → · Contrast checker → · Palette generator →

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