#7E377C#7E377C

#7E377C is a mid, vivid purple. Relative luminance 0.086; OKLCH L 45.9% C 0.133 H 328.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7E377C
RGBrgb(126, 55, 124)
HSLhsl(302, 39%, 35%)
HSVhsv(302, 56%, 49%)
CMYKcmyk(0%, 56.3%, 1.6%, 50.6%)
CIE-LABlab(35.25, 40.67, -25.35)
CIE-LCHlch(35.25, 47.92, 328.06°)
OKLaboklab(45.88% 0.1139 -0.0696)
OKLCHoklch(45.88% 0.133 328.6)
XYZxyz(13.6083, 8.6241, 20.0127)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E377C #377E39
analogous
#5C377E #7E377C #7E3758
triadic
#7E377C #7C7E37 #377C7E
tetradic
#7E377C #7E5C37 #377E39 #37587E
square
#7E377C #7E5C37 #377E39 #37587E
split-complementary
#7E377C #587E37 #377E5C
monochromatic
#291228 #532452 #7E377C #A94AA6 #C06FBE

Accessibility & contrast

On white

7.71
#7E377C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7E377C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E377C
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E377C#FFFFFF#000000##FFFFFF
##7E377C1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#47567A
Tritanopia (blue-blind)
#823F54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e377c;
/* rgb */ color: rgb(126, 55, 124);
/* oklch */ color: oklch(45.9% 0.133 328.6);
Tailwind
colors: {
  custom: {
    50: '#a572a2',
    500: '#7e377c',
    950: '#000000',
  },
}
SCSS
$custom: #7e377c;
$custom-light: #a572a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e377c",
  "rgb": {
    "r": 126,
    "g": 55,
    "b": 124
  },
  "hsl": {
    "h": 301.69,
    "s": 39.227,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45879,
    "c": 0.13349,
    "h": 328.6
  },
  "luminance": 0.08623
}

Semantic roles & 50–950 ramp

primary
#7E377C
secondary
#68A96A
accent
#CF5C59
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #7E377C

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

Preview Lab → · Contrast checker → · Palette generator →

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