#7C3296#7C3296

#7C3296 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.5% C 0.166 H 316.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7C3296
RGBrgb(124, 50, 150)
HSLhsl(284, 50%, 39%)
HSVhsv(284, 67%, 59%)
CMYKcmyk(17.3%, 66.7%, 0%, 41.2%)
CIE-LABlab(35.54, 47.81, -40.93)
CIE-LCHlch(35.54, 62.93, 319.43°)
OKLaboklab(46.5% 0.1194 -0.1149)
OKLCHoklch(46.5% 0.166 316.1)
XYZxyz(14.9570, 8.7689, 29.7529)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3296 #4C9632
analogous
#4A3296 #7C3296 #96327E
triadic
#7C3296 #967C32 #32967C
tetradic
#7C3296 #964A32 #4C9632 #327E96
square
#7C3296 #964A32 #4C9632 #327E96
split-complementary
#7C3296 #7E9632 #32964A
monochromatic
#30133A #562368 #7C3296 #A044C1 #B872D0

Accessibility & contrast

On white

7.63
#7C3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7C3296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C3296
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3296#FFFFFF#000000##FFFFFF
##7C32961.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064F99
Deuteranopia (green-blind)
#325694
Tritanopia (blue-blind)
#7A455F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7c3296;
/* rgb */ color: rgb(124, 50, 150);
/* oklch */ color: oklch(46.5% 0.166 316.1);
Tailwind
colors: {
  custom: {
    50: '#a56fb5',
    500: '#7c3296',
    950: '#000000',
  },
}
SCSS
$custom: #7c3296;
$custom-light: #a56fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3296",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 284.4,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46501,
    "c": 0.16566,
    "h": 316.1
  },
  "luminance": 0.08768
}

Semantic roles & 50–950 ramp

primary
#7C3296
secondary
#80B86C
accent
#DA4E72
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7C3296

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

Preview Lab → · Contrast checker → · Palette generator →

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