#7B146B#7B146B

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

Color values

HEX#7B146B
RGBrgb(123, 20, 107)
HSLhsl(309, 72%, 28%)
HSVhsv(309, 84%, 48%)
CMYKcmyk(0%, 83.7%, 13%, 51.8%)
CIE-LABlab(28.83, 50.95, -24.69)
CIE-LCHlch(28.83, 56.61, 334.15°)
OKLaboklab(40.84% 0.1494 -0.0675)
OKLCHoklch(40.84% 0.164 335.7)
XYZxyz(11.0726, 5.7738, 14.4384)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B146B #147B24
analogous
#57147B #7B146B #7B1438
triadic
#7B146B #6B7B14 #146B7B
tetradic
#7B146B #7B5714 #147B24 #14387B
square
#7B146B #7B5714 #147B24 #14387B
split-complementary
#7B146B #387B14 #147B57
monochromatic
#1A0417 #460B3D #7B146B #B01D99 #DD2DC1

Accessibility & contrast

On white

9.75
#7B146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7B146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B146B
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B146B#FFFFFF#000000##FFFFFF
##7B146B1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153A6D
Deuteranopia (green-blind)
#3C4969
Tritanopia (blue-blind)
#821E3F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b146b;
/* rgb */ color: rgb(123, 20, 107);
/* oklch */ color: oklch(40.8% 0.164 335.7);
Tailwind
colors: {
  custom: {
    50: '#a56095',
    500: '#7b146b',
    950: '#000000',
  },
}
SCSS
$custom: #7b146b;
$custom-light: #a56095;
$custom-dark: #000000;
JSON
{
  "hex": "#7b146b",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 309.32,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40836,
    "c": 0.16393,
    "h": 335.7
  },
  "luminance": 0.05773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B146B

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

Preview Lab → · Contrast checker → · Palette generator →

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