#7B1C93#7B1C93

#7B1C93 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 44.0% C 0.188 H 318.3°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7B1C93
RGBrgb(123, 28, 147)
HSLhsl(288, 68%, 34%)
HSVhsv(288, 81%, 58%)
CMYKcmyk(16.3%, 81%, 0%, 42.4%)
CIE-LABlab(32.14, 55.59, -44.55)
CIE-LCHlch(32.14, 71.24, 321.29°)
OKLaboklab(43.99% 0.1407 -0.1254)
OKLCHoklch(43.99% 0.188 318.3)
XYZxyz(13.8494, 7.1487, 28.2484)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C93 #34931C
analogous
#401C93 #7B1C93 #931C70
triadic
#7B1C93 #937B1C #1C937B
tetradic
#7B1C93 #93401C #34931C #1C7093
square
#7B1C93 #93401C #34931C #1C7093
split-complementary
#7B1C93 #70931C #1C9340
monochromatic
#25082C #501260 #7B1C93 #A626C6 #C04CDD

Accessibility & contrast

On white

8.64
#7B1C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7B1C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1C93
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C93#FFFFFF#000000##FFFFFF
##7B1C931.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#224E90
Tritanopia (blue-blind)
#7A3758
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b1c93;
/* rgb */ color: rgb(123, 28, 147);
/* oklch */ color: oklch(44.0% 0.188 318.3);
Tailwind
colors: {
  custom: {
    50: '#a565b3',
    500: '#7b1c93',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c93;
$custom-light: #a565b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c93",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 287.899,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43989,
    "c": 0.18841,
    "h": 318.3
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#7B1C93
secondary
#63BF4C
accent
#EB3D60
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7B1C93

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

Preview Lab → · Contrast checker → · Palette generator →

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