#7B146E#7B146E

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

Color values

HEX#7B146E
RGBrgb(123, 20, 110)
HSLhsl(308, 72%, 28%)
HSVhsv(308, 84%, 48%)
CMYKcmyk(0%, 83.7%, 10.6%, 51.8%)
CIE-LABlab(29.00, 51.40, -26.36)
CIE-LCHlch(29.00, 57.77, 332.86°)
OKLaboklab(41.01% 0.1495 -0.0723)
OKLCHoklch(41.01% 0.166 334.2)
XYZxyz(11.2331, 5.8381, 15.2841)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B146E #147B21
analogous
#54147B #7B146E #7B143A
triadic
#7B146E #6E7B14 #146E7B
tetradic
#7B146E #7B5414 #147B21 #143A7B
square
#7B146E #7B5414 #147B21 #143A7B
split-complementary
#7B146E #3A7B14 #147B54
monochromatic
#1A0418 #460B3F #7B146E #B01D9D #DD2DC7

Accessibility & contrast

On white

9.69
#7B146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B146E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B146E#FFFFFF#000000##FFFFFF
##7B146E1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113B70
Deuteranopia (green-blind)
#3B4A6C
Tritanopia (blue-blind)
#811F41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b146e;
/* rgb */ color: rgb(123, 20, 110);
/* oklch */ color: oklch(41.0% 0.166 334.2);
Tailwind
colors: {
  custom: {
    50: '#a56098',
    500: '#7b146e',
    950: '#000000',
  },
}
SCSS
$custom: #7b146e;
$custom-light: #a56098;
$custom-dark: #000000;
JSON
{
  "hex": "#7b146e",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 307.573,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41008,
    "c": 0.1661,
    "h": 334.2
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#7B146E
secondary
#3AB149
accent
#EF5039
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7B146E

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

Preview Lab → · Contrast checker → · Palette generator →

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