#7C3192#7C3192

#7C3192 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.1% C 0.163 H 317.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7C3192
RGBrgb(124, 49, 146)
HSLhsl(286, 50%, 38%)
HSVhsv(286, 66%, 57%)
CMYKcmyk(15.1%, 66.4%, 0%, 42.7%)
CIE-LABlab(35.12, 47.43, -39.16)
CIE-LCHlch(35.12, 61.50, 320.46°)
OKLaboklab(46.12% 0.1207 -0.1097)
OKLCHoklch(46.12% 0.163 317.7)
XYZxyz(14.5981, 8.5576, 28.0714)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3192 #479231
analogous
#4B3192 #7C3192 #923177
triadic
#7C3192 #927C31 #31927C
tetradic
#7C3192 #924B31 #479231 #317792
square
#7C3192 #924B31 #479231 #317792
split-complementary
#7C3192 #779231 #31924B
monochromatic
#2E1236 #552264 #7C3192 #A341BF #B96FCF

Accessibility & contrast

On white

7.75
#7C3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7C3192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C3192
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3192#FFFFFF#000000##FFFFFF
##7C31921.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4E95
Deuteranopia (green-blind)
#345590
Tritanopia (blue-blind)
#7B425D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7c3192;
/* rgb */ color: rgb(124, 49, 146);
/* oklch */ color: oklch(46.1% 0.163 317.7);
Tailwind
colors: {
  custom: {
    50: '#a56fb2',
    500: '#7c3192',
    950: '#000000',
  },
}
SCSS
$custom: #7c3192;
$custom-light: #a56fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3192",
  "rgb": {
    "r": 124,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 286.392,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46121,
    "c": 0.16308,
    "h": 317.7
  },
  "luminance": 0.08557
}

Semantic roles & 50–950 ramp

primary
#7C3192
secondary
#7AB669
accent
#D94F6E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7C3192

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

Preview Lab → · Contrast checker → · Palette generator →

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