#7B146D#7B146D

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

Color values

HEX#7B146D
RGBrgb(123, 20, 109)
HSLhsl(308, 72%, 28%)
HSVhsv(308, 84%, 48%)
CMYKcmyk(0%, 83.7%, 11.4%, 51.8%)
CIE-LABlab(28.94, 51.25, -25.80)
CIE-LCHlch(28.94, 57.38, 333.28°)
OKLaboklab(40.95% 0.1495 -0.0707)
OKLCHoklch(40.95% 0.165 334.7)
XYZxyz(11.1790, 5.8164, 14.9990)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B146D #147B22
analogous
#55147B #7B146D #7B143A
triadic
#7B146D #6D7B14 #146D7B
tetradic
#7B146D #7B5514 #147B22 #143A7B
square
#7B146D #7B5514 #147B22 #143A7B
split-complementary
#7B146D #3A7B14 #147B55
monochromatic
#1A0417 #460B3E #7B146D #B01D9C #DD2DC5

Accessibility & contrast

On white

9.71
#7B146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B146D
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B146D#FFFFFF#000000##FFFFFF
##7B146D1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123B6F
Deuteranopia (green-blind)
#3B496B
Tritanopia (blue-blind)
#811F41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b146d;
/* rgb */ color: rgb(123, 20, 109);
/* oklch */ color: oklch(40.9% 0.165 334.7);
Tailwind
colors: {
  custom: {
    50: '#a56097',
    500: '#7b146d',
    950: '#000000',
  },
}
SCSS
$custom: #7b146d;
$custom-light: #a56097;
$custom-dark: #000000;
JSON
{
  "hex": "#7b146d",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 308.155,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4095,
    "c": 0.16537,
    "h": 334.7
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#7B146D
secondary
#3AB14A
accent
#EF5239
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7B146D

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

Preview Lab → · Contrast checker → · Palette generator →

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