#7B1989#7B1989

#7B1989 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.1% C 0.183 H 322.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#7B1989
RGBrgb(123, 25, 137)
HSLhsl(293, 69%, 32%)
HSVhsv(293, 82%, 54%)
CMYKcmyk(10.2%, 81.8%, 0%, 46.3%)
CIE-LABlab(31.14, 54.61, -39.98)
CIE-LCHlch(31.14, 67.68, 323.79°)
OKLaboklab(43.07% 0.1444 -0.112)
OKLCHoklch(43.07% 0.183 322.2)
XYZxyz(13.0309, 6.7131, 24.2715)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1989 #278919
analogous
#431989 #7B1989 #89195F
triadic
#7B1989 #897B19 #19897B
tetradic
#7B1989 #894319 #278919 #195F89
square
#7B1989 #894319 #278919 #195F89
split-complementary
#7B1989 #5F8919 #198943
monochromatic
#1E0621 #4D1055 #7B1989 #A922BD #C940DC

Accessibility & contrast

On white

8.97
#7B1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7B1989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1989
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1989#FFFFFF#000000##FFFFFF
##7B19891.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#2B4D87
Tritanopia (blue-blind)
#7C3152
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b1989;
/* rgb */ color: rgb(123, 25, 137);
/* oklch */ color: oklch(43.1% 0.183 322.2);
Tailwind
colors: {
  custom: {
    50: '#a563ac',
    500: '#7b1989',
    950: '#000000',
  },
}
SCSS
$custom: #7b1989;
$custom-light: #a563ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1989",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 292.5,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43066,
    "c": 0.18274,
    "h": 322.2
  },
  "luminance": 0.06712
}

Semantic roles & 50–950 ramp

primary
#7B1989
secondary
#51BC41
accent
#EC3C52
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1989

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

Preview Lab → · Contrast checker → · Palette generator →

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