#7C2096#7C2096

#7C2096 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.188 H 317.4°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7C2096
RGBrgb(124, 32, 150)
HSLhsl(287, 65%, 36%)
HSVhsv(287, 79%, 59%)
CMYKcmyk(17.3%, 78.7%, 0%, 41.2%)
CIE-LABlab(32.96, 55.08, -45.06)
CIE-LCHlch(32.96, 71.16, 320.72°)
OKLaboklab(44.67% 0.1381 -0.1268)
OKLCHoklch(44.67% 0.188 317.4)
XYZxyz(14.3329, 7.5208, 29.5449)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2096 #3A9620
analogous
#412096 #7C2096 #962075
triadic
#7C2096 #967C20 #20967C
tetradic
#7C2096 #964120 #3A9620 #207596
square
#7C2096 #964120 #3A9620 #207596
split-complementary
#7C2096 #759620 #209641
monochromatic
#290A31 #521564 #7C2096 #A62BC8 #BD56DB

Accessibility & contrast

On white

8.39
#7C2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2096
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2096#FFFFFF#000000##FFFFFF
##7C20961.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#235093
Tritanopia (blue-blind)
#7B3A5B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c2096;
/* rgb */ color: rgb(124, 32, 150);
/* oklch */ color: oklch(44.7% 0.188 317.4);
Tailwind
colors: {
  custom: {
    50: '#a667b5',
    500: '#7c2096',
    950: '#000000',
  },
}
SCSS
$custom: #7c2096;
$custom-light: #a667b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2096",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 286.78,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44667,
    "c": 0.18753,
    "h": 317.4
  },
  "luminance": 0.0752
}

Semantic roles & 50–950 ramp

primary
#7C2096
secondary
#6BBE53
accent
#E84065
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2096

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

Preview Lab → · Contrast checker → · Palette generator →

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