#7B146C#7B146C

#7B146C is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.165 H 335.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7B146C
RGBrgb(123, 20, 108)
HSLhsl(309, 72%, 28%)
HSVhsv(309, 84%, 48%)
CMYKcmyk(0%, 83.7%, 12.2%, 51.8%)
CIE-LABlab(28.89, 51.10, -25.24)
CIE-LCHlch(28.89, 56.99, 333.71°)
OKLaboklab(40.89% 0.1495 -0.0691)
OKLCHoklch(40.89% 0.165 335.2)
XYZxyz(11.1255, 5.7950, 14.7171)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B146C #147B23
analogous
#56147B #7B146C #7B1438
triadic
#7B146C #6C7B14 #146C7B
tetradic
#7B146C #7B5614 #147B23 #14387B
square
#7B146C #7B5614 #147B23 #14387B
split-complementary
#7B146C #387B14 #147B56
monochromatic
#1A0417 #460B3E #7B146C #B01D9A #DD2DC3

Accessibility & contrast

On white

9.73
#7B146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B146C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B146C
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B146C#FFFFFF#000000##FFFFFF
##7B146C1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143B6E
Deuteranopia (green-blind)
#3C496A
Tritanopia (blue-blind)
#811E40
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b146c;
/* rgb */ color: rgb(123, 20, 108);
/* oklch */ color: oklch(40.9% 0.165 335.2);
Tailwind
colors: {
  custom: {
    50: '#a56096',
    500: '#7b146c',
    950: '#000000',
  },
}
SCSS
$custom: #7b146c;
$custom-light: #a56096;
$custom-dark: #000000;
JSON
{
  "hex": "#7b146c",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 308.738,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40893,
    "c": 0.16465,
    "h": 335.2
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#7B146C
secondary
#3AB14B
accent
#EF5439
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7B146C

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

Preview Lab → · Contrast checker → · Palette generator →

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