#7B1D84#7B1D84

#7B1D84 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.175 H 324.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#7B1D84
RGBrgb(123, 29, 132)
HSLhsl(295, 64%, 32%)
HSVhsv(295, 78%, 52%)
CMYKcmyk(6.8%, 78%, 0%, 48.2%)
CIE-LABlab(31.25, 52.46, -36.71)
CIE-LCHlch(31.25, 64.02, 325.02°)
OKLaboklab(43.03% 0.1415 -0.1024)
OKLCHoklch(43.03% 0.175 324.1)
XYZxyz(12.7722, 6.7564, 22.4567)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D84 #26841D
analogous
#481D84 #7B1D84 #841D5A
triadic
#7B1D84 #847B1D #1D847B
tetradic
#7B1D84 #84481D #26841D #1D5A84
square
#7B1D84 #84481D #26841D #1D5A84
split-complementary
#7B1D84 #5A841D #1D8448
monochromatic
#1D0720 #4C1252 #7B1D84 #AA28B6 #CA45D6

Accessibility & contrast

On white

8.93
#7B1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7B1D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D84
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D84#FFFFFF#000000##FFFFFF
##7B1D841.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#314D82
Tritanopia (blue-blind)
#7D3050
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b1d84;
/* rgb */ color: rgb(123, 29, 132);
/* oklch */ color: oklch(43.0% 0.175 324.1);
Tailwind
colors: {
  custom: {
    50: '#a565a8',
    500: '#7b1d84',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d84;
$custom-light: #a565a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d84",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 294.757,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43033,
    "c": 0.1747,
    "h": 324.1
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#7B1D84
secondary
#50B746
accent
#E7414F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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