#7C2194#7C2194

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

Color values

HEX#7C2194
RGBrgb(124, 33, 148)
HSLhsl(287, 64%, 35%)
HSVhsv(287, 78%, 58%)
CMYKcmyk(16.2%, 77.7%, 0%, 42%)
CIE-LABlab(32.94, 54.35, -43.87)
CIE-LCHlch(32.94, 69.84, 321.09°)
OKLaboklab(44.61% 0.1375 -0.1234)
OKLCHoklch(44.61% 0.185 318.1)
XYZxyz(14.2006, 7.5116, 28.7131)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2194 #399421
analogous
#422194 #7C2194 #942172
triadic
#7C2194 #947C21 #21947C
tetradic
#7C2194 #944221 #399421 #217294
square
#7C2194 #944221 #399421 #217294
split-complementary
#7C2194 #729421 #219442
monochromatic
#280B30 #521662 #7C2194 #A62CC6 #BE56D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C2194#FFFFFF#000000##FFFFFF
##7C21941.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)
#004897
Deuteranopia (green-blind)
#265091
Tritanopia (blue-blind)
#7B3A5A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c2194;
/* rgb */ color: rgb(124, 33, 148);
/* oklch */ color: oklch(44.6% 0.185 318.1);
Tailwind
colors: {
  custom: {
    50: '#a667b4',
    500: '#7c2194',
    950: '#000000',
  },
}
SCSS
$custom: #7c2194;
$custom-light: #a667b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2194",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 287.478,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44609,
    "c": 0.18473,
    "h": 318.1
  },
  "luminance": 0.07511
}

Semantic roles & 50–950 ramp

primary
#7C2194
secondary
#6ABD54
accent
#E74164
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2194

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

Preview Lab → · Contrast checker → · Palette generator →

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