#7C2192#7C2192

#7C2192 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.183 H 318.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7C2192
RGBrgb(124, 33, 146)
HSLhsl(288, 63%, 35%)
HSVhsv(288, 77%, 57%)
CMYKcmyk(15.1%, 77.4%, 0%, 42.7%)
CIE-LABlab(32.81, 53.95, -42.86)
CIE-LCHlch(32.81, 68.91, 321.54°)
OKLaboklab(44.47% 0.1378 -0.1204)
OKLCHoklch(44.47% 0.183 318.8)
XYZxyz(14.0436, 7.4488, 27.8866)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2192 #379221
analogous
#442192 #7C2192 #92216F
triadic
#7C2192 #927C21 #21927C
tetradic
#7C2192 #924421 #379221 #216F92
square
#7C2192 #924421 #379221 #216F92
split-complementary
#7C2192 #6F9221 #219244
monochromatic
#270A2E #521660 #7C2192 #A62CC4 #BF55D9

Accessibility & contrast

On white

8.44
#7C2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7C2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2192
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2192#FFFFFF#000000##FFFFFF
##7C21921.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#28508F
Tritanopia (blue-blind)
#7C3959
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c2192;
/* rgb */ color: rgb(124, 33, 146);
/* oklch */ color: oklch(44.5% 0.183 318.8);
Tailwind
colors: {
  custom: {
    50: '#a667b3',
    500: '#7c2192',
    950: '#000000',
  },
}
SCSS
$custom: #7c2192;
$custom-light: #a667b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2192",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 288.319,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44469,
    "c": 0.18297,
    "h": 318.8
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

primary
#7C2192
secondary
#67BC53
accent
#E64262
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2192

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

Preview Lab → · Contrast checker → · Palette generator →

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