#7B1776#7B1776

#7B1776 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.169 H 330.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#7B1776
RGBrgb(123, 23, 118)
HSLhsl(303, 68%, 29%)
HSVhsv(303, 81%, 48%)
CMYKcmyk(0%, 81.3%, 4.1%, 51.8%)
CIE-LABlab(29.74, 51.87, -30.28)
CIE-LCHlch(29.74, 60.06, 329.72°)
OKLaboklab(41.69% 0.1473 -0.0837)
OKLCHoklch(41.69% 0.169 330.4)
XYZxyz(11.7448, 6.1327, 17.7012)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1776 #177B1C
analogous
#4E177B #7B1776 #7B1744
triadic
#7B1776 #767B17 #17767B
tetradic
#7B1776 #7B4E17 #177B1C #17447B
square
#7B1776 #7B4E17 #177B1C #17447B
split-complementary
#7B1776 #447B17 #177B4E
monochromatic
#1A0519 #470D45 #7B1776 #AF21A7 #D933D1

Accessibility & contrast

On white

9.43
#7B1776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7B1776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1776
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1776#FFFFFF#000000##FFFFFF
##7B17761.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073D78
Deuteranopia (green-blind)
#374B74
Tritanopia (blue-blind)
#802646
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1776;
/* rgb */ color: rgb(123, 23, 118);
/* oklch */ color: oklch(41.7% 0.169 330.4);
Tailwind
colors: {
  custom: {
    50: '#a5629e',
    500: '#7b1776',
    950: '#000000',
  },
}
SCSS
$custom: #7b1776;
$custom-light: #a5629e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1776",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 303,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41688,
    "c": 0.16937,
    "h": 330.4
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#7B1776
secondary
#3EB044
accent
#EB453C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1776

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

Preview Lab → · Contrast checker → · Palette generator →

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