#7B1E83#7B1E83

#7B1E83 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.173 H 324.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#7B1E83
RGBrgb(123, 30, 131)
HSLhsl(295, 63%, 32%)
HSVhsv(295, 77%, 51%)
CMYKcmyk(6.1%, 77.1%, 0%, 48.6%)
CIE-LABlab(31.30, 51.94, -36.00)
CIE-LCHlch(31.30, 63.20, 325.27°)
OKLaboklab(43.05% 0.1407 -0.1003)
OKLCHoklch(43.05% 0.173 324.5)
XYZxyz(12.7291, 6.7790, 22.1064)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E83 #26831E
analogous
#491E83 #7B1E83 #831E59
triadic
#7B1E83 #837B1E #1E837B
tetradic
#7B1E83 #83491E #26831E #1E5983
square
#7B1E83 #83491E #26831E #1E5983
split-complementary
#7B1E83 #59831E #1E8349
monochromatic
#1D071F #4C1351 #7B1E83 #AA29B5 #CA47D5

Accessibility & contrast

On white

8.91
#7B1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1E83
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E83#FFFFFF#000000##FFFFFF
##7B1E831.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#324D81
Tritanopia (blue-blind)
#7E304F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b1e83;
/* rgb */ color: rgb(123, 30, 131);
/* oklch */ color: oklch(43.0% 0.173 324.5);
Tailwind
colors: {
  custom: {
    50: '#a565a7',
    500: '#7b1e83',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e83;
$custom-light: #a565a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e83",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 295.248,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4305,
    "c": 0.1728,
    "h": 324.5
  },
  "luminance": 0.06778
}

Semantic roles & 50–950 ramp

primary
#7B1E83
secondary
#50B647
accent
#E6424F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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