#7D378E#7D378E

#7D378E is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.8% C 0.151 H 319.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7D378E
RGBrgb(125, 55, 142)
HSLhsl(288, 44%, 39%)
HSVhsv(288, 61%, 56%)
CMYKcmyk(12%, 61.3%, 0%, 44.3%)
CIE-LABlab(36.07, 43.97, -35.18)
CIE-LCHlch(36.07, 56.31, 321.34°)
OKLaboklab(46.77% 0.1143 -0.0981)
OKLCHoklch(46.77% 0.151 319.4)
XYZxyz(14.7055, 9.0460, 26.5574)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D378E #488E37
analogous
#51378E #7D378E #8E3773
triadic
#7D378E #8E7D37 #378E7D
tetradic
#7D378E #8E5137 #488E37 #37738E
square
#7D378E #8E5137 #488E37 #37738E
split-complementary
#7D378E #738E37 #378E51
monochromatic
#2F1536 #562662 #7D378E #A349B9 #B976CA

Accessibility & contrast

On white

7.48
#7D378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7D378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D378E
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D378E#FFFFFF#000000##FFFFFF
##7D378E1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225091
Deuteranopia (green-blind)
#3D578C
Tritanopia (blue-blind)
#7D455D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d378e;
/* rgb */ color: rgb(125, 55, 142);
/* oklch */ color: oklch(46.8% 0.151 319.4);
Tailwind
colors: {
  custom: {
    50: '#a572af',
    500: '#7d378e',
    950: '#000000',
  },
}
SCSS
$custom: #7d378e;
$custom-light: #a572af;
$custom-dark: #000000;
JSON
{
  "hex": "#7d378e",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 288.276,
    "s": 44.162,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46765,
    "c": 0.15063,
    "h": 319.4
  },
  "luminance": 0.09045
}

Semantic roles & 50–950 ramp

primary
#7D378E
secondary
#7CB36E
accent
#D4546D
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7D378E

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

Preview Lab → · Contrast checker → · Palette generator →

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