#7C1B96#7C1B96

#7C1B96 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.192 H 317.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7C1B96
RGBrgb(124, 27, 150)
HSLhsl(287, 69%, 35%)
HSVhsv(287, 82%, 59%)
CMYKcmyk(17.3%, 82%, 0%, 41.2%)
CIE-LABlab(32.42, 56.67, -45.94)
CIE-LCHlch(32.42, 72.95, 320.97°)
OKLaboklab(44.28% 0.1422 -0.1294)
OKLCHoklch(44.28% 0.192 317.7)
XYZxyz(14.2083, 7.2716, 29.5034)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B96 #35961B
analogous
#3E1B96 #7C1B96 #961B73
triadic
#7C1B96 #967C1B #1B967C
tetradic
#7C1B96 #963E1B #35961B #1B7396
square
#7C1B96 #963E1B #35961B #1B7396
split-complementary
#7C1B96 #73961B #1B963E
monochromatic
#26082E #511262 #7C1B96 #A724CA #C04DDF

Accessibility & contrast

On white

8.56
#7C1B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7C1B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1B96
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B96#FFFFFF#000000##FFFFFF
##7C1B961.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#1F4F93
Tritanopia (blue-blind)
#7B385A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c1b96;
/* rgb */ color: rgb(124, 27, 150);
/* oklch */ color: oklch(44.3% 0.192 317.7);
Tailwind
colors: {
  custom: {
    50: '#a665b6',
    500: '#7c1b96',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b96;
$custom-light: #a665b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b96",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 287.317,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44282,
    "c": 0.19226,
    "h": 317.7
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#7C1B96
secondary
#65C14C
accent
#EC3B61
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1B96

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

Preview Lab → · Contrast checker → · Palette generator →

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