#7B1794#7B1794

#7B1794 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.194 H 318.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#7B1794
RGBrgb(123, 23, 148)
HSLhsl(288, 73%, 34%)
HSVhsv(288, 84%, 58%)
CMYKcmyk(16.9%, 84.5%, 0%, 42%)
CIE-LABlab(31.72, 57.22, -45.85)
CIE-LCHlch(31.72, 73.32, 321.30°)
OKLaboklab(43.72% 0.1442 -0.1291)
OKLCHoklch(43.72% 0.194 318.2)
XYZxyz(13.8193, 6.9625, 28.6272)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1794 #309417
analogous
#3C1794 #7B1794 #94176E
triadic
#7B1794 #947B17 #17947B
tetradic
#7B1794 #943C17 #309417 #176E94
square
#7B1794 #943C17 #309417 #176E94
split-complementary
#7B1794 #6E9417 #17943C
monochromatic
#23072A #4F0F5F #7B1794 #A71FC9 #C244E2

Accessibility & contrast

On white

8.78
#7B1794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7B1794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1794
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1794#FFFFFF#000000##FFFFFF
##7B17941.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#1D4E91
Tritanopia (blue-blind)
#7A3558
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b1794;
/* rgb */ color: rgb(123, 23, 148);
/* oklch */ color: oklch(43.7% 0.194 318.2);
Tailwind
colors: {
  custom: {
    50: '#a563b4',
    500: '#7b1794',
    950: '#000000',
  },
}
SCSS
$custom: #7b1794;
$custom-light: #a563b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1794",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 288,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43716,
    "c": 0.19357,
    "h": 318.2
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#7B1794
secondary
#5DC344
accent
#F0385D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7B1794

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

Preview Lab → · Contrast checker → · Palette generator →

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