#7C3288#7C3288

#7C3288 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.6% C 0.152 H 321.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7C3288
RGBrgb(124, 50, 136)
HSLhsl(292, 46%, 36%)
HSVhsv(292, 63%, 53%)
CMYKcmyk(8.8%, 63.2%, 0%, 46.7%)
CIE-LABlab(34.69, 44.91, -33.69)
CIE-LCHlch(34.69, 56.15, 323.12°)
OKLaboklab(45.62% 0.1194 -0.0938)
OKLCHoklch(45.62% 0.152 321.8)
XYZxyz(13.8962, 8.3446, 24.1665)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3288 #3E8832
analogous
#513288 #7C3288 #883269
triadic
#7C3288 #887C32 #32887C
tetradic
#7C3288 #885132 #3E8832 #326988
square
#7C3288 #885132 #3E8832 #326988
split-complementary
#7C3288 #698832 #328851
monochromatic
#2A112F #53225B #7C3288 #A542B5 #BC6CC9

Accessibility & contrast

On white

7.87
#7C3288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7C3288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C3288
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3288#FFFFFF#000000##FFFFFF
##7C32881.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4C8B
Deuteranopia (green-blind)
#3C5486
Tritanopia (blue-blind)
#7D3F58
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c3288;
/* rgb */ color: rgb(124, 50, 136);
/* oklch */ color: oklch(45.6% 0.152 321.8);
Tailwind
colors: {
  custom: {
    50: '#a46fab',
    500: '#7c3288',
    950: '#000000',
  },
}
SCSS
$custom: #7c3288;
$custom-light: #a46fab;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3288",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 291.628,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45618,
    "c": 0.15178,
    "h": 321.8
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#7C3288
secondary
#70B065
accent
#D65264
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7C3288

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

Preview Lab → · Contrast checker → · Palette generator →

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