#7B1E84#7B1E84

#7B1E84 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.174 H 324.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#7B1E84
RGBrgb(123, 30, 132)
HSLhsl(295, 63%, 32%)
HSVhsv(295, 77%, 52%)
CMYKcmyk(6.8%, 77.3%, 0%, 48.2%)
CIE-LABlab(31.36, 52.12, -36.52)
CIE-LCHlch(31.36, 63.65, 324.98°)
OKLaboklab(43.12% 0.1406 -0.1019)
OKLCHoklch(43.12% 0.174 324.1)
XYZxyz(12.7972, 6.8062, 22.4650)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E84 #27841E
analogous
#481E84 #7B1E84 #841E5A
triadic
#7B1E84 #847B1E #1E847B
tetradic
#7B1E84 #84481E #27841E #1E5A84
square
#7B1E84 #84481E #27841E #1E5A84
split-complementary
#7B1E84 #5A841E #1E8448
monochromatic
#1E0720 #4D1352 #7B1E84 #A929B6 #C947D5

Accessibility & contrast

On white

8.89
#7B1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7B1E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E84
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E84#FFFFFF#000000##FFFFFF
##7B1E841.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#324D82
Tritanopia (blue-blind)
#7D3150
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b1e84;
/* rgb */ color: rgb(123, 30, 132);
/* oklch */ color: oklch(43.1% 0.174 324.1);
Tailwind
colors: {
  custom: {
    50: '#a565a8',
    500: '#7b1e84',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e84;
$custom-light: #a565a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e84",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 294.706,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43116,
    "c": 0.17365,
    "h": 324.1
  },
  "luminance": 0.06805
}

Semantic roles & 50–950 ramp

primary
#7B1E84
secondary
#51B747
accent
#E64250
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1E84

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

Preview Lab → · Contrast checker → · Palette generator →

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