#7B1E89#7B1E89

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

Color values

HEX#7B1E89
RGBrgb(123, 30, 137)
HSLhsl(292, 64%, 33%)
HSVhsv(292, 78%, 54%)
CMYKcmyk(10.2%, 78.1%, 0%, 46.3%)
CIE-LABlab(31.68, 53.05, -39.12)
CIE-LCHlch(31.68, 65.91, 323.60°)
OKLaboklab(43.45% 0.1402 -0.1095)
OKLCHoklch(43.45% 0.178 322)
XYZxyz(13.1475, 6.9464, 24.3103)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E89 #2C891E
analogous
#461E89 #7B1E89 #891E61
triadic
#7B1E89 #897B1E #1E897B
tetradic
#7B1E89 #89461E #2C891E #1E6189
square
#7B1E89 #89461E #2C891E #1E6189
split-complementary
#7B1E89 #61891E #1E8946
monochromatic
#210825 #4E1357 #7B1E89 #A829BB #C54AD7

Accessibility & contrast

On white

8.79
#7B1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7B1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E89
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E89#FFFFFF#000000##FFFFFF
##7B1E891.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#2E4E87
Tritanopia (blue-blind)
#7C3353
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b1e89;
/* rgb */ color: rgb(123, 30, 137);
/* oklch */ color: oklch(43.4% 0.178 322.0);
Tailwind
colors: {
  custom: {
    50: '#a565ac',
    500: '#7b1e89',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e89;
$custom-light: #a565ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e89",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 292.15,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43449,
    "c": 0.17789,
    "h": 322
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#7B1E89
secondary
#58BA49
accent
#E74156
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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