#7C378E#7C378E

#7C378E is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.6% C 0.150 H 318.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7C378E
RGBrgb(124, 55, 142)
HSLhsl(288, 44%, 39%)
HSVhsv(288, 61%, 56%)
CMYKcmyk(12.7%, 61.3%, 0%, 44.3%)
CIE-LABlab(35.93, 43.70, -35.42)
CIE-LCHlch(35.93, 56.25, 320.98°)
OKLaboklab(46.63% 0.1131 -0.0988)
OKLCHoklch(46.63% 0.15 318.8)
XYZxyz(14.5602, 8.9711, 26.5506)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C378E #498E37
analogous
#50378E #7C378E #8E3774
triadic
#7C378E #8E7C37 #378E7C
tetradic
#7C378E #8E5037 #498E37 #37748E
square
#7C378E #8E5037 #498E37 #37748E
split-complementary
#7C378E #748E37 #378E50
monochromatic
#2F1536 #552662 #7C378E #A249B9 #B876CA

Accessibility & contrast

On white

7.52
#7C378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7C378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C378E
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C378E#FFFFFF#000000##FFFFFF
##7C378E1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215091
Deuteranopia (green-blind)
#3C578C
Tritanopia (blue-blind)
#7C455D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7c378e;
/* rgb */ color: rgb(124, 55, 142);
/* oklch */ color: oklch(46.6% 0.150 318.8);
Tailwind
colors: {
  custom: {
    50: '#a472af',
    500: '#7c378e',
    950: '#000000',
  },
}
SCSS
$custom: #7c378e;
$custom-light: #a472af;
$custom-dark: #000000;
JSON
{
  "hex": "#7c378e",
  "rgb": {
    "r": 124,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 287.586,
    "s": 44.162,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4663,
    "c": 0.15015,
    "h": 318.8
  },
  "luminance": 0.0897
}

Semantic roles & 50–950 ramp

primary
#7C378E
secondary
#7CB36E
accent
#D4546E
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7C378E

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

Preview Lab → · Contrast checker → · Palette generator →

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