#7C146B#7C146B

#7C146B is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.164 H 336.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7C146B
RGBrgb(124, 20, 107)
HSLhsl(310, 72%, 28%)
HSVhsv(310, 84%, 49%)
CMYKcmyk(0%, 83.9%, 13.7%, 51.4%)
CIE-LABlab(29.03, 51.17, -24.37)
CIE-LCHlch(29.03, 56.68, 334.53°)
OKLaboklab(41.01% 0.1504 -0.0666)
OKLCHoklch(41.01% 0.164 336.1)
XYZxyz(11.2164, 5.8480, 14.4451)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C146B #147C25
analogous
#59147C #7C146B #7C1437
triadic
#7C146B #6B7C14 #146B7C
tetradic
#7C146B #7C5914 #147C25 #14377C
square
#7C146B #7C5914 #147C25 #14377C
split-complementary
#7C146B #377C14 #147C59
monochromatic
#1A0417 #470B3E #7C146B #B11D98 #DD2DC0

Accessibility & contrast

On white

9.68
#7C146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C146B
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C146B#FFFFFF#000000##FFFFFF
##7C146B1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163B6D
Deuteranopia (green-blind)
#3D4A69
Tritanopia (blue-blind)
#831D3F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c146b;
/* rgb */ color: rgb(124, 20, 107);
/* oklch */ color: oklch(41.0% 0.164 336.1);
Tailwind
colors: {
  custom: {
    50: '#a66095',
    500: '#7c146b',
    950: '#000000',
  },
}
SCSS
$custom: #7c146b;
$custom-light: #a66095;
$custom-dark: #000000;
JSON
{
  "hex": "#7c146b",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 309.808,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41008,
    "c": 0.16447,
    "h": 336.1
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#7C146B
secondary
#3AB24E
accent
#EF5739
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7C146B

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

Preview Lab → · Contrast checker → · Palette generator →

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