#7B1689#7B1689

#7B1689 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.9% C 0.185 H 322.3°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#7B1689
RGBrgb(123, 22, 137)
HSLhsl(293, 72%, 31%)
HSVhsv(293, 84%, 54%)
CMYKcmyk(10.2%, 83.9%, 0%, 46.3%)
CIE-LABlab(30.86, 55.44, -40.44)
CIE-LCHlch(30.86, 68.62, 323.89°)
OKLaboklab(42.86% 0.1467 -0.1133)
OKLCHoklch(42.86% 0.185 322.3)
XYZxyz(12.9702, 6.5917, 24.2512)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1689 #248916
analogous
#411689 #7B1689 #89165D
triadic
#7B1689 #897B16 #16897B
tetradic
#7B1689 #894116 #248916 #165D89
square
#7B1689 #894116 #248916 #165D89
split-complementary
#7B1689 #5D8916 #168941
monochromatic
#1C0520 #4C0E54 #7B1689 #AA1EBE #CB3ADF

Accessibility & contrast

On white

9.06
#7B1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7B1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1689
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1689#FFFFFF#000000##FFFFFF
##7B16891.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#294C87
Tritanopia (blue-blind)
#7D2F51
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b1689;
/* rgb */ color: rgb(123, 22, 137);
/* oklch */ color: oklch(42.9% 0.185 322.3);
Tailwind
colors: {
  custom: {
    50: '#a562ac',
    500: '#7b1689',
    950: '#000000',
  },
}
SCSS
$custom: #7b1689;
$custom-light: #a562ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1689",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 292.696,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42865,
    "c": 0.18532,
    "h": 322.3
  },
  "luminance": 0.06591
}

Semantic roles & 50–950 ramp

primary
#7B1689
secondary
#4DBD3E
accent
#EF394F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1689

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

Preview Lab → · Contrast checker → · Palette generator →

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