#7B1E82#7B1E82

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

Color values

HEX#7B1E82
RGBrgb(123, 30, 130)
HSLhsl(296, 63%, 31%)
HSVhsv(296, 77%, 51%)
CMYKcmyk(5.4%, 76.9%, 0%, 49%)
CIE-LABlab(31.24, 51.76, -35.47)
CIE-LCHlch(31.24, 62.75, 325.57°)
OKLaboklab(42.99% 0.1407 -0.0988)
OKLCHoklch(42.99% 0.172 324.9)
XYZxyz(12.6616, 6.7520, 21.7511)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E82 #25821E
analogous
#491E82 #7B1E82 #821E57
triadic
#7B1E82 #827B1E #1E827B
tetradic
#7B1E82 #82491E #25821E #1E5782
square
#7B1E82 #82491E #25821E #1E5782
split-complementary
#7B1E82 #57821E #1E8249
monochromatic
#1D071F #4C1350 #7B1E82 #AA29B4 #CA46D4

Accessibility & contrast

On white

8.94
#7B1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7B1E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E82
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E82#FFFFFF#000000##FFFFFF
##7B1E821.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#334D80
Tritanopia (blue-blind)
#7E304F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b1e82;
/* rgb */ color: rgb(123, 30, 130);
/* oklch */ color: oklch(43.0% 0.172 324.9);
Tailwind
colors: {
  custom: {
    50: '#a565a7',
    500: '#7b1e82',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e82;
$custom-light: #a565a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e82",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 295.8,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42986,
    "c": 0.17196,
    "h": 324.9
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#7B1E82
secondary
#4FB547
accent
#E6424E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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