#7B378C#7B378C

#7B378C is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.4% C 0.148 H 319.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7B378C
RGBrgb(123, 55, 140)
HSLhsl(288, 44%, 38%)
HSVhsv(288, 61%, 55%)
CMYKcmyk(12.1%, 60.7%, 0%, 45.1%)
CIE-LABlab(35.67, 43.02, -34.61)
CIE-LCHlch(35.67, 55.21, 321.18°)
OKLaboklab(46.37% 0.1117 -0.0965)
OKLCHoklch(46.37% 0.148 319.2)
XYZxyz(14.2676, 8.8374, 25.7601)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B378C #488C37
analogous
#50378C #7B378C #8C3772
triadic
#7B378C #8C7B37 #378C7B
tetradic
#7B378C #8C5037 #488C37 #37728C
square
#7B378C #8C5037 #488C37 #37728C
split-complementary
#7B378C #728C37 #378C50
monochromatic
#2E1434 #542660 #7B378C #A149B7 #B875C9

Accessibility & contrast

On white

7.59
#7B378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7B378C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B378C
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B378C#FFFFFF#000000##FFFFFF
##7B378C1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b378c;
/* rgb */ color: rgb(123, 55, 140);
/* oklch */ color: oklch(46.4% 0.148 319.2);
Tailwind
colors: {
  custom: {
    50: '#a472ae',
    500: '#7b378c',
    950: '#000000',
  },
}
SCSS
$custom: #7b378c;
$custom-light: #a472ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7b378c",
  "rgb": {
    "r": 123,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 288,
    "s": 43.59,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46374,
    "c": 0.14759,
    "h": 319.2
  },
  "luminance": 0.08837
}

Semantic roles & 50–950 ramp

primary
#7B378C
secondary
#7BB16D
accent
#D3546E
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7B378C

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

Preview Lab → · Contrast checker → · Palette generator →

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