#7C146C#7C146C

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

Color values

HEX#7C146C
RGBrgb(124, 20, 108)
HSLhsl(309, 72%, 28%)
HSVhsv(309, 84%, 49%)
CMYKcmyk(0%, 83.9%, 12.9%, 51.4%)
CIE-LABlab(29.08, 51.32, -24.93)
CIE-LCHlch(29.08, 57.06, 334.09°)
OKLaboklab(41.07% 0.1505 -0.0682)
OKLCHoklch(41.07% 0.165 335.6)
XYZxyz(11.2693, 5.8692, 14.7238)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C146C #147C24
analogous
#58147C #7C146C #7C1438
triadic
#7C146C #6C7C14 #146C7C
tetradic
#7C146C #7C5814 #147C24 #14387C
square
#7C146C #7C5814 #147C24 #14387C
split-complementary
#7C146C #387C14 #147C58
monochromatic
#1A0417 #470B3E #7C146C #B11D9A #DD2DC2

Accessibility & contrast

On white

9.66
#7C146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7C146C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C146C
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C146C#FFFFFF#000000##FFFFFF
##7C146C1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153B6E
Deuteranopia (green-blind)
#3C4A6A
Tritanopia (blue-blind)
#831E40
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c146c;
/* rgb */ color: rgb(124, 20, 108);
/* oklch */ color: oklch(41.1% 0.165 335.6);
Tailwind
colors: {
  custom: {
    50: '#a66096',
    500: '#7c146c',
    950: '#000000',
  },
}
SCSS
$custom: #7c146c;
$custom-light: #a66096;
$custom-dark: #000000;
JSON
{
  "hex": "#7c146c",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 309.231,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41065,
    "c": 0.16519,
    "h": 335.6
  },
  "luminance": 0.05868
}

Semantic roles & 50–950 ramp

primary
#7C146C
secondary
#3AB24D
accent
#EF5539
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7C146C

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

Preview Lab → · Contrast checker → · Palette generator →

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