#7B1693#7B1693

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

Color values

HEX#7B1693
RGBrgb(123, 22, 147)
HSLhsl(288, 74%, 33%)
HSVhsv(288, 85%, 58%)
CMYKcmyk(16.3%, 85%, 0%, 42.4%)
CIE-LABlab(31.56, 57.29, -45.49)
CIE-LCHlch(31.56, 73.16, 321.55°)
OKLaboklab(43.58% 0.1451 -0.1281)
OKLCHoklch(43.58% 0.194 318.6)
XYZxyz(13.7210, 6.8920, 28.2057)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1693 #2E9316
analogous
#3C1693 #7B1693 #93166C
triadic
#7B1693 #937B16 #16937B
tetradic
#7B1693 #933C16 #2E9316 #166C93
square
#7B1693 #933C16 #2E9316 #166C93
split-complementary
#7B1693 #6C9316 #16933C
monochromatic
#220629 #4E0E5E #7B1693 #A81EC8 #C341E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B1693#FFFFFF#000000##FFFFFF
##7B16931.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)
#004496
Deuteranopia (green-blind)
#1E4D90
Tritanopia (blue-blind)
#7A3557
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b1693;
/* rgb */ color: rgb(123, 22, 147);
/* oklch */ color: oklch(43.6% 0.194 318.6);
Tailwind
colors: {
  custom: {
    50: '#a563b3',
    500: '#7b1693',
    950: '#000000',
  },
}
SCSS
$custom: #7b1693;
$custom-light: #a563b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1693",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 147
  },
  "hsl": {
    "h": 288.48,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4358,
    "c": 0.19352,
    "h": 318.6
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#7B1693
secondary
#5BC342
accent
#F1375B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7B1693

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

Preview Lab → · Contrast checker → · Palette generator →

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