#7E378C#7E378C

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

Color values

HEX#7E378C
RGBrgb(126, 55, 140)
HSLhsl(290, 44%, 38%)
HSVhsv(290, 61%, 55%)
CMYKcmyk(10%, 60.7%, 0%, 45.1%)
CIE-LABlab(36.10, 43.82, -33.90)
CIE-LCHlch(36.10, 55.40, 322.28°)
OKLaboklab(46.78% 0.1155 -0.0943)
OKLCHoklch(46.78% 0.149 320.8)
XYZxyz(14.7034, 9.0621, 25.7805)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E378C #458C37
analogous
#53378C #7E378C #8C376F
triadic
#7E378C #8C7E37 #378C7E
tetradic
#7E378C #8C5337 #458C37 #376F8C
square
#7E378C #8C5337 #458C37 #376F8C
split-complementary
#7E378C #6F8C37 #378C53
monochromatic
#2F1434 #562660 #7E378C #A549B7 #BB75C9

Accessibility & contrast

On white

7.47
#7E378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E378C
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E378C#FFFFFF#000000##FFFFFF
##7E378C1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25508F
Deuteranopia (green-blind)
#3F588A
Tritanopia (blue-blind)
#7F445C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7e378c;
/* rgb */ color: rgb(126, 55, 140);
/* oklch */ color: oklch(46.8% 0.149 320.8);
Tailwind
colors: {
  custom: {
    50: '#a672ae',
    500: '#7e378c',
    950: '#000000',
  },
}
SCSS
$custom: #7e378c;
$custom-light: #a672ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7e378c",
  "rgb": {
    "r": 126,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 290.118,
    "s": 43.59,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46781,
    "c": 0.1491,
    "h": 320.8
  },
  "luminance": 0.09061
}

Semantic roles & 50–950 ramp

primary
#7E378C
secondary
#79B16D
accent
#D35469
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E378C

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

Preview Lab → · Contrast checker → · Palette generator →

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