#7C146F#7C146F

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

Color values

HEX#7C146F
RGBrgb(124, 20, 111)
HSLhsl(308, 72%, 28%)
HSVhsv(308, 84%, 49%)
CMYKcmyk(0%, 83.9%, 10.5%, 51.4%)
CIE-LABlab(29.25, 51.78, -26.60)
CIE-LCHlch(29.25, 58.22, 332.81°)
OKLaboklab(41.24% 0.1506 -0.073)
OKLCHoklch(41.24% 0.167 334.2)
XYZxyz(11.4317, 5.9341, 15.5792)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C146F #147C21
analogous
#55147C #7C146F #7C143B
triadic
#7C146F #6F7C14 #146F7C
tetradic
#7C146F #7C5514 #147C21 #143B7C
square
#7C146F #7C5514 #147C21 #143B7C
split-complementary
#7C146F #3B7C14 #147C55
monochromatic
#1A0418 #470B40 #7C146F #B11D9E #DD2DC7

Accessibility & contrast

On white

9.60
#7C146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7C146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C146F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C146F#FFFFFF#000000##FFFFFF
##7C146F1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113B71
Deuteranopia (green-blind)
#3B4A6D
Tritanopia (blue-blind)
#822042
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c146f;
/* rgb */ color: rgb(124, 20, 111);
/* oklch */ color: oklch(41.2% 0.167 334.2);
Tailwind
colors: {
  custom: {
    50: '#a66198',
    500: '#7c146f',
    950: '#000000',
  },
}
SCSS
$custom: #7c146f;
$custom-light: #a66198;
$custom-dark: #000000;
JSON
{
  "hex": "#7c146f",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 307.5,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41237,
    "c": 0.16735,
    "h": 334.2
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#7C146F
secondary
#3AB249
accent
#EF5039
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C146F

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

Preview Lab → · Contrast checker → · Palette generator →

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