#7B1D94#7B1D94

#7B1D94 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.188 H 317.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#7B1D94
RGBrgb(123, 29, 148)
HSLhsl(287, 67%, 35%)
HSVhsv(287, 80%, 58%)
CMYKcmyk(16.9%, 80.4%, 0%, 42%)
CIE-LABlab(32.32, 55.48, -44.88)
CIE-LCHlch(32.32, 71.36, 321.03°)
OKLaboklab(44.14% 0.1397 -0.1263)
OKLCHoklch(44.14% 0.188 317.9)
XYZxyz(13.9523, 7.2284, 28.6715)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D94 #36941D
analogous
#401D94 #7B1D94 #941D72
triadic
#7B1D94 #947B1D #1D947B
tetradic
#7B1D94 #94401D #36941D #1D7294
square
#7B1D94 #94401D #36941D #1D7294
split-complementary
#7B1D94 #72941D #1D9440
monochromatic
#26092E #501361 #7B1D94 #A627C7 #BF4FDC

Accessibility & contrast

On white

8.59
#7B1D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7B1D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D94
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D94#FFFFFF#000000##FFFFFF
##7B1D941.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#224F91
Tritanopia (blue-blind)
#7A3859
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b1d94;
/* rgb */ color: rgb(123, 29, 148);
/* oklch */ color: oklch(44.1% 0.188 317.9);
Tailwind
colors: {
  custom: {
    50: '#a565b4',
    500: '#7b1d94',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d94;
$custom-light: #a565b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d94",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 287.395,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44137,
    "c": 0.18835,
    "h": 317.9
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#7B1D94
secondary
#65BF4E
accent
#EA3E62
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7B1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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