#7B1AA0#7B1AA0

#7B1AA0 is a dark, highly saturated purple. Relative luminance 0.075; OKLCH L 44.8% C 0.201 H 313.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7B1AA0
RGBrgb(123, 26, 160)
HSLhsl(283, 72%, 36%)
HSVhsv(283, 84%, 63%)
CMYKcmyk(23.1%, 83.8%, 0%, 37.3%)
CIE-LABlab(32.89, 58.74, -51.27)
CIE-LCHlch(32.89, 77.97, 318.88°)
OKLaboklab(44.82% 0.1396 -0.1451)
OKLCHoklch(44.82% 0.201 313.9)
XYZxyz(14.8818, 7.4883, 33.9124)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1AA0 #3FA01A
analogous
#381AA0 #7B1AA0 #A01A82
triadic
#7B1AA0 #A07B1A #1AA07B
tetradic
#7B1AA0 #A0381A #3FA01A #1A82A0
square
#7B1AA0 #A0381A #3FA01A #1A82A0
split-complementary
#7B1AA0 #82A01A #1AA038
monochromatic
#2A0937 #53116B #7B1AA0 #A323D5 #BB52E3

Accessibility & contrast

On white

8.41
#7B1AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7B1AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1AA0
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1AA0#FFFFFF#000000##FFFFFF
##7B1AA01.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#054F9D
Tritanopia (blue-blind)
#773D5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b1aa0;
/* rgb */ color: rgb(123, 26, 160);
/* oklch */ color: oklch(44.8% 0.201 313.9);
Tailwind
colors: {
  custom: {
    50: '#a665bd',
    500: '#7b1aa0',
    950: '#000000',
  },
}
SCSS
$custom: #7b1aa0;
$custom-light: #a665bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1aa0",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 283.433,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44816,
    "c": 0.20133,
    "h": 313.9
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#7B1AA0
secondary
#71C550
accent
#EF396B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7B1AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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