#7B378D#7B378D

#7B378D is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.4% C 0.149 H 318.7°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7B378D
RGBrgb(123, 55, 141)
HSLhsl(287, 44%, 38%)
HSVhsv(287, 61%, 55%)
CMYKcmyk(12.8%, 61%, 0%, 44.7%)
CIE-LABlab(35.73, 43.23, -35.13)
CIE-LCHlch(35.73, 55.70, 320.90°)
OKLaboklab(46.43% 0.1117 -0.098)
OKLCHoklch(46.43% 0.149 318.7)
XYZxyz(14.3416, 8.8670, 26.1502)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B378D #498D37
analogous
#50378D #7B378D #8D3774
triadic
#7B378D #8D7B37 #378D7B
tetradic
#7B378D #8D5037 #498D37 #37748D
square
#7B378D #8D5037 #498D37 #37748D
split-complementary
#7B378D #748D37 #378D50
monochromatic
#2E1535 #552661 #7B378D #A149B8 #B875C9

Accessibility & contrast

On white

7.57
#7B378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B378D
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B378D#FFFFFF#000000##FFFFFF
##7B378D1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F90
Deuteranopia (green-blind)
#3C568B
Tritanopia (blue-blind)
#7B455D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7b378d;
/* rgb */ color: rgb(123, 55, 141);
/* oklch */ color: oklch(46.4% 0.149 318.7);
Tailwind
colors: {
  custom: {
    50: '#a472af',
    500: '#7b378d',
    950: '#000000',
  },
}
SCSS
$custom: #7b378d;
$custom-light: #a472af;
$custom-dark: #000000;
JSON
{
  "hex": "#7b378d",
  "rgb": {
    "r": 123,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 287.442,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46435,
    "c": 0.14863,
    "h": 318.7
  },
  "luminance": 0.08866
}

Semantic roles & 50–950 ramp

primary
#7B378D
secondary
#7CB26E
accent
#D4546F
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7B378D

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

Preview Lab → · Contrast checker → · Palette generator →

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