#7C2191#7C2191

#7C2191 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.182 H 319.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7C2191
RGBrgb(124, 33, 145)
HSLhsl(289, 63%, 35%)
HSVhsv(289, 77%, 57%)
CMYKcmyk(14.5%, 77.2%, 0%, 43.1%)
CIE-LABlab(32.74, 53.76, -42.35)
CIE-LCHlch(32.74, 68.44, 321.77°)
OKLaboklab(44.4% 0.1379 -0.1189)
OKLCHoklch(44.4% 0.182 319.2)
XYZxyz(13.9662, 7.4178, 27.4787)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2191 #369121
analogous
#442191 #7C2191 #91216E
triadic
#7C2191 #917C21 #21917C
tetradic
#7C2191 #914421 #369121 #216E91
square
#7C2191 #914421 #369121 #216E91
split-complementary
#7C2191 #6E9121 #219144
monochromatic
#270A2D #51165F #7C2191 #A72CC3 #BF54D8

Accessibility & contrast

On white

8.46
#7C2191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7C2191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2191
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2191#FFFFFF#000000##FFFFFF
##7C21911.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#29508F
Tritanopia (blue-blind)
#7C3858
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c2191;
/* rgb */ color: rgb(124, 33, 145);
/* oklch */ color: oklch(44.4% 0.182 319.2);
Tailwind
colors: {
  custom: {
    50: '#a667b2',
    500: '#7c2191',
    950: '#000000',
  },
}
SCSS
$custom: #7c2191;
$custom-light: #a667b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2191",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 288.75,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44399,
    "c": 0.18209,
    "h": 319.2
  },
  "luminance": 0.07417
}

Semantic roles & 50–950 ramp

primary
#7C2191
secondary
#66BC52
accent
#E64261
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2191

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

Preview Lab → · Contrast checker → · Palette generator →

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