#7B1E88#7B1E88

#7B1E88 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.177 H 322.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7B1E88
RGBrgb(123, 30, 136)
HSLhsl(293, 64%, 33%)
HSVhsv(293, 78%, 53%)
CMYKcmyk(9.6%, 77.9%, 0%, 46.7%)
CIE-LABlab(31.62, 52.86, -38.60)
CIE-LCHlch(31.62, 65.46, 323.86°)
OKLaboklab(43.38% 0.1403 -0.1079)
OKLCHoklch(43.38% 0.177 322.4)
XYZxyz(13.0761, 6.9178, 23.9343)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E88 #2B881E
analogous
#461E88 #7B1E88 #881E60
triadic
#7B1E88 #887B1E #1E887B
tetradic
#7B1E88 #88461E #2B881E #1E6088
square
#7B1E88 #88461E #2B881E #1E6088
split-complementary
#7B1E88 #60881E #1E8846
monochromatic
#200824 #4E1356 #7B1E88 #A829BA #C649D7

Accessibility & contrast

On white

8.81
#7B1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1E88
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E88#FFFFFF#000000##FFFFFF
##7B1E881.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#2E4E86
Tritanopia (blue-blind)
#7D3352
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b1e88;
/* rgb */ color: rgb(123, 30, 136);
/* oklch */ color: oklch(43.4% 0.177 322.4);
Tailwind
colors: {
  custom: {
    50: '#a565ab',
    500: '#7b1e88',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e88;
$custom-light: #a565ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e88",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 292.642,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43381,
    "c": 0.17703,
    "h": 322.4
  },
  "luminance": 0.06917
}

Semantic roles & 50–950 ramp

primary
#7B1E88
secondary
#56B949
accent
#E74155
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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