#7B1E87#7B1E87

#7B1E87 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.176 H 322.8°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7B1E87
RGBrgb(123, 30, 135)
HSLhsl(293, 64%, 32%)
HSVhsv(293, 78%, 53%)
CMYKcmyk(8.9%, 77.8%, 0%, 47.1%)
CIE-LABlab(31.55, 52.68, -38.08)
CIE-LCHlch(31.55, 65.00, 324.13°)
OKLaboklab(43.31% 0.1404 -0.1064)
OKLCHoklch(43.31% 0.176 322.8)
XYZxyz(13.0054, 6.8895, 23.5618)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E87 #2A871E
analogous
#471E87 #7B1E87 #871E5E
triadic
#7B1E87 #877B1E #1E877B
tetradic
#7B1E87 #87471E #2A871E #1E5E87
square
#7B1E87 #87471E #2A871E #1E5E87
split-complementary
#7B1E87 #5E871E #1E8747
monochromatic
#200823 #4D1355 #7B1E87 #A929B9 #C649D7

Accessibility & contrast

On white

8.83
#7B1E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7B1E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E87
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E87#FFFFFF#000000##FFFFFF
##7B1E871.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#2F4E85
Tritanopia (blue-blind)
#7D3252
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b1e87;
/* rgb */ color: rgb(123, 30, 135);
/* oklch */ color: oklch(43.3% 0.176 322.8);
Tailwind
colors: {
  custom: {
    50: '#a565aa',
    500: '#7b1e87',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e87;
$custom-light: #a565aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e87",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 293.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43314,
    "c": 0.17619,
    "h": 322.8
  },
  "luminance": 0.06889
}

Semantic roles & 50–950 ramp

primary
#7B1E87
secondary
#55B948
accent
#E74154
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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