#7C2195#7C2195

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

Color values

HEX#7C2195
RGBrgb(124, 33, 149)
HSLhsl(287, 64%, 36%)
HSVhsv(287, 78%, 58%)
CMYKcmyk(16.8%, 77.9%, 0%, 41.6%)
CIE-LABlab(33.01, 54.54, -44.37)
CIE-LCHlch(33.01, 70.31, 320.87°)
OKLaboklab(44.68% 0.1374 -0.1248)
OKLCHoklch(44.68% 0.186 317.7)
XYZxyz(14.2801, 7.5434, 29.1318)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2195 #3A9521
analogous
#422195 #7C2195 #952174
triadic
#7C2195 #957C21 #21957C
tetradic
#7C2195 #954221 #3A9521 #217495
square
#7C2195 #954221 #3A9521 #217495
split-complementary
#7C2195 #749521 #219542
monochromatic
#290B31 #521663 #7C2195 #A62CC7 #BD57DA

Accessibility & contrast

On white

8.37
#7C2195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7C2195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2195
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2195#FFFFFF#000000##FFFFFF
##7C21951.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#255092
Tritanopia (blue-blind)
#7B3A5A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c2195;
/* rgb */ color: rgb(124, 33, 149);
/* oklch */ color: oklch(44.7% 0.186 317.7);
Tailwind
colors: {
  custom: {
    50: '#a667b5',
    500: '#7c2195',
    950: '#000000',
  },
}
SCSS
$custom: #7c2195;
$custom-light: #a667b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2195",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 287.069,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4468,
    "c": 0.18562,
    "h": 317.7
  },
  "luminance": 0.07543
}

Semantic roles & 50–950 ramp

primary
#7C2195
secondary
#6BBE54
accent
#E74165
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2195

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

Preview Lab → · Contrast checker → · Palette generator →

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