#7B1D89#7B1D89

#7B1D89 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.179 H 322.1°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7B1D89
RGBrgb(123, 29, 137)
HSLhsl(292, 65%, 33%)
HSVhsv(292, 79%, 54%)
CMYKcmyk(10.2%, 78.8%, 0%, 46.3%)
CIE-LABlab(31.57, 53.38, -39.30)
CIE-LCHlch(31.57, 66.28, 323.64°)
OKLaboklab(43.37% 0.1411 -0.11)
OKLCHoklch(43.37% 0.179 322.1)
XYZxyz(13.1226, 6.8966, 24.3020)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D89 #2B891D
analogous
#451D89 #7B1D89 #891D61
triadic
#7B1D89 #897B1D #1D897B
tetradic
#7B1D89 #89451D #2B891D #1D6189
square
#7B1D89 #89451D #2B891D #1D6189
split-complementary
#7B1D89 #61891D #1D8945
monochromatic
#200824 #4E1256 #7B1D89 #A828BC #C648D8

Accessibility & contrast

On white

8.83
#7B1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7B1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D89
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D89#FFFFFF#000000##FFFFFF
##7B1D891.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#2D4E87
Tritanopia (blue-blind)
#7C3353
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b1d89;
/* rgb */ color: rgb(123, 29, 137);
/* oklch */ color: oklch(43.4% 0.179 322.1);
Tailwind
colors: {
  custom: {
    50: '#a565ac',
    500: '#7b1d89',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d89;
$custom-light: #a565ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d89",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 292.222,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43367,
    "c": 0.17891,
    "h": 322.1
  },
  "luminance": 0.06896
}

Semantic roles & 50–950 ramp

primary
#7B1D89
secondary
#56BA47
accent
#E84056
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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