#7B1E8A#7B1E8A

#7B1E8A is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.179 H 321.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#7B1E8A
RGBrgb(123, 30, 138)
HSLhsl(292, 64%, 33%)
HSVhsv(292, 78%, 54%)
CMYKcmyk(10.9%, 78.3%, 0%, 45.9%)
CIE-LABlab(31.75, 53.24, -39.63)
CIE-LCHlch(31.75, 66.37, 323.33°)
OKLaboklab(43.52% 0.1401 -0.111)
OKLCHoklch(43.52% 0.179 321.6)
XYZxyz(13.2196, 6.9752, 24.6899)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E8A #2D8A1E
analogous
#451E8A #7B1E8A #8A1E63
triadic
#7B1E8A #8A7B1E #1E8A7B
tetradic
#7B1E8A #8A451E #2D8A1E #1E638A
square
#7B1E8A #8A451E #2D8A1E #1E638A
split-complementary
#7B1E8A #638A1E #1E8A45
monochromatic
#210825 #4E1358 #7B1E8A #A829BC #C44BD8

Accessibility & contrast

On white

8.77
#7B1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1E8A
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E8A#FFFFFF#000000##FFFFFF
##7B1E8A1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#2D4E88
Tritanopia (blue-blind)
#7C3453
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b1e8a;
/* rgb */ color: rgb(123, 30, 138);
/* oklch */ color: oklch(43.5% 0.179 321.6);
Tailwind
colors: {
  custom: {
    50: '#a565ad',
    500: '#7b1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e8a;
$custom-light: #a565ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e8a",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 291.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43516,
    "c": 0.17875,
    "h": 321.6
  },
  "luminance": 0.06974
}

Semantic roles & 50–950 ramp

primary
#7B1E8A
secondary
#59BA4A
accent
#E74158
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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