#7D378B#7D378B

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

Color values

HEX#7D378B
RGBrgb(125, 55, 139)
HSLhsl(290, 43%, 38%)
HSVhsv(290, 60%, 55%)
CMYKcmyk(10.1%, 60.4%, 0%, 45.5%)
CIE-LABlab(35.90, 43.35, -33.61)
CIE-LCHlch(35.90, 54.85, 322.21°)
OKLaboklab(46.59% 0.1142 -0.0935)
OKLCHoklch(46.59% 0.148 320.7)
XYZxyz(14.4833, 8.9571, 25.3871)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D378B #458B37
analogous
#53378B #7D378B #8B376F
triadic
#7D378B #8B7D37 #378B7D
tetradic
#7D378B #8B5337 #458B37 #376F8B
square
#7D378B #8B5337 #458B37 #376F8B
split-complementary
#7D378B #6F8B37 #378B53
monochromatic
#2E1433 #56265F #7D378B #A448B7 #BA74C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D378B#FFFFFF#000000##FFFFFF
##7D378B1.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)
#254F8E
Deuteranopia (green-blind)
#3F5789
Tritanopia (blue-blind)
#7E445C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d378b;
/* rgb */ color: rgb(125, 55, 139);
/* oklch */ color: oklch(46.6% 0.148 320.7);
Tailwind
colors: {
  custom: {
    50: '#a572ad',
    500: '#7d378b',
    950: '#000000',
  },
}
SCSS
$custom: #7d378b;
$custom-light: #a572ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7d378b",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 290,
    "s": 43.299,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46585,
    "c": 0.14758,
    "h": 320.7
  },
  "luminance": 0.08956
}

Semantic roles & 50–950 ramp

primary
#7D378B
secondary
#78B16D
accent
#D3556A
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7D378B

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

Preview Lab → · Contrast checker → · Palette generator →

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