#7B1681#7B1681

#7B1681 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.179 H 325.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#7B1681
RGBrgb(123, 22, 129)
HSLhsl(297, 71%, 30%)
HSVhsv(297, 83%, 51%)
CMYKcmyk(4.7%, 82.9%, 0%, 49.4%)
CIE-LABlab(30.33, 54.02, -36.30)
CIE-LCHlch(30.33, 65.08, 326.10°)
OKLaboklab(42.32% 0.1475 -0.1012)
OKLCHoklch(42.32% 0.179 325.6)
XYZxyz(12.4175, 6.3706, 21.3402)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1681 #1C8116
analogous
#461681 #7B1681 #811651
triadic
#7B1681 #817B16 #16817B
tetradic
#7B1681 #814616 #1C8116 #165181
square
#7B1681 #814616 #1C8116 #165181
split-complementary
#7B1681 #518116 #168146
monochromatic
#19041A #490D4D #7B1681 #AD1FB5 #D335DD

Accessibility & contrast

On white

9.23
#7B1681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7B1681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1681
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1681#FFFFFF#000000##FFFFFF
##7B16811.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#304B7F
Tritanopia (blue-blind)
#7E2B4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1681;
/* rgb */ color: rgb(123, 22, 129);
/* oklch */ color: oklch(42.3% 0.179 325.6);
Tailwind
colors: {
  custom: {
    50: '#a562a6',
    500: '#7b1681',
    950: '#000000',
  },
}
SCSS
$custom: #7b1681;
$custom-light: #a562a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1681",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 296.636,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42321,
    "c": 0.17889,
    "h": 325.6
  },
  "luminance": 0.0637
}

Semantic roles & 50–950 ramp

primary
#7B1681
secondary
#44B63D
accent
#EE3A44
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B1681

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

Preview Lab → · Contrast checker → · Palette generator →

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