#7B1E97#7B1E97

#7B1E97 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.190 H 316.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7B1E97
RGBrgb(123, 30, 151)
HSLhsl(286, 67%, 35%)
HSVhsv(286, 80%, 59%)
CMYKcmyk(18.5%, 80.1%, 0%, 40.8%)
CIE-LABlab(32.64, 55.74, -46.19)
CIE-LCHlch(32.64, 72.40, 320.35°)
OKLaboklab(44.43% 0.1384 -0.1302)
OKLCHoklch(44.43% 0.19 316.7)
XYZxyz(14.2177, 7.3745, 29.9467)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E97 #3A971E
analogous
#3F1E97 #7B1E97 #971E76
triadic
#7B1E97 #977B1E #1E977B
tetradic
#7B1E97 #973F1E #3A971E #1E7697
square
#7B1E97 #973F1E #3A971E #1E7697
split-complementary
#7B1E97 #76971E #1E973F
monochromatic
#280A31 #511464 #7B1E97 #A528CA #BD53DD

Accessibility & contrast

On white

8.49
#7B1E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7B1E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E97
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E97#FFFFFF#000000##FFFFFF
##7B1E971.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#1F4F94
Tritanopia (blue-blind)
#793A5B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b1e97;
/* rgb */ color: rgb(123, 30, 151);
/* oklch */ color: oklch(44.4% 0.190 316.7);
Tailwind
colors: {
  custom: {
    50: '#a566b6',
    500: '#7b1e97',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e97;
$custom-light: #a566b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e97",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 286.116,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44432,
    "c": 0.19,
    "h": 316.7
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#7B1E97
secondary
#6BC051
accent
#EA3E66
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7B1E97

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

Preview Lab → · Contrast checker → · Palette generator →

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