#7C378C#7C378C

#7C378C is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.5% C 0.148 H 319.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7C378C
RGBrgb(124, 55, 140)
HSLhsl(289, 44%, 38%)
HSVhsv(289, 61%, 55%)
CMYKcmyk(11.4%, 60.7%, 0%, 45.1%)
CIE-LABlab(35.81, 43.29, -34.37)
CIE-LCHlch(35.81, 55.27, 321.55°)
OKLaboklab(46.51% 0.113 -0.0958)
OKLCHoklch(46.51% 0.148 319.7)
XYZxyz(14.4114, 8.9115, 25.7668)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C378C #478C37
analogous
#51378C #7C378C #8C3771
triadic
#7C378C #8C7C37 #378C7C
tetradic
#7C378C #8C5137 #478C37 #37718C
square
#7C378C #8C5137 #478C37 #37718C
split-complementary
#7C378C #718C37 #378C51
monochromatic
#2E1434 #552660 #7C378C #A349B7 #B975C9

Accessibility & contrast

On white

7.55
#7C378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7C378C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C378C
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C378C#FFFFFF#000000##FFFFFF
##7C378C1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8F
Deuteranopia (green-blind)
#3D578A
Tritanopia (blue-blind)
#7C445C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7c378c;
/* rgb */ color: rgb(124, 55, 140);
/* oklch */ color: oklch(46.5% 0.148 319.7);
Tailwind
colors: {
  custom: {
    50: '#a472ae',
    500: '#7c378c',
    950: '#000000',
  },
}
SCSS
$custom: #7c378c;
$custom-light: #a472ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7c378c",
  "rgb": {
    "r": 124,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 288.706,
    "s": 43.59,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46509,
    "c": 0.14809,
    "h": 319.7
  },
  "luminance": 0.08911
}

Semantic roles & 50–950 ramp

primary
#7C378C
secondary
#7AB16D
accent
#D3546C
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7C378C

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

Preview Lab → · Contrast checker → · Palette generator →

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