#7E378D#7E378D

#7E378D is a mid, vivid purple. Relative luminance 0.091; OKLCH L 46.8% C 0.150 H 320.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7E378D
RGBrgb(126, 55, 141)
HSLhsl(290, 44%, 38%)
HSVhsv(290, 61%, 55%)
CMYKcmyk(10.6%, 61%, 0%, 44.7%)
CIE-LABlab(36.16, 44.03, -34.42)
CIE-LCHlch(36.16, 55.89, 321.98°)
OKLaboklab(46.84% 0.1155 -0.0958)
OKLCHoklch(46.84% 0.15 320.3)
XYZxyz(14.7775, 9.0918, 26.1706)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E378D #468D37
analogous
#53378D #7E378D #8D3771
triadic
#7E378D #8D7E37 #378D7E
tetradic
#7E378D #8D5337 #468D37 #37718D
square
#7E378D #8D5337 #468D37 #37718D
split-complementary
#7E378D #718D37 #378D53
monochromatic
#2F1535 #572661 #7E378D #A549B8 #BB75C9

Accessibility & contrast

On white

7.45
#7E378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7E378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E378D
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E378D#FFFFFF#000000##FFFFFF
##7E378D1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#3E588B
Tritanopia (blue-blind)
#7F445D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7e378d;
/* rgb */ color: rgb(126, 55, 141);
/* oklch */ color: oklch(46.8% 0.150 320.3);
Tailwind
colors: {
  custom: {
    50: '#a672af',
    500: '#7e378d',
    950: '#000000',
  },
}
SCSS
$custom: #7e378d;
$custom-light: #a672af;
$custom-dark: #000000;
JSON
{
  "hex": "#7e378d",
  "rgb": {
    "r": 126,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 289.535,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46841,
    "c": 0.15012,
    "h": 320.3
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#7E378D
secondary
#7AB26E
accent
#D4546A
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E378D

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

Preview Lab → · Contrast checker → · Palette generator →

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