#7E379B#7E379B

#7E379B is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.7% C 0.164 H 314.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7E379B
RGBrgb(126, 55, 155)
HSLhsl(283, 48%, 41%)
HSVhsv(283, 65%, 61%)
CMYKcmyk(18.7%, 64.5%, 0%, 39.2%)
CIE-LABlab(36.99, 46.99, -41.61)
CIE-LCHlch(36.99, 62.77, 318.48°)
OKLaboklab(47.72% 0.1157 -0.1168)
OKLCHoklch(47.72% 0.164 314.7)
XYZxyz(15.8858, 9.5351, 32.0076)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E379B #549B37
analogous
#4C379B #7E379B #9B3786
triadic
#7E379B #9B7E37 #379B7E
tetradic
#7E379B #9B4C37 #549B37 #37869B
square
#7E379B #9B4C37 #549B37 #37869B
split-complementary
#7E379B #869B37 #379B4C
monochromatic
#351741 #59276E #7E379B #9F4FC0 #B87CD0

Accessibility & contrast

On white

7.22
#7E379B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7E379B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E379B
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E379B#FFFFFF#000000##FFFFFF
##7E379B1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F539E
Deuteranopia (green-blind)
#345999
Tritanopia (blue-blind)
#7C4A64
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7e379b;
/* rgb */ color: rgb(126, 55, 155);
/* oklch */ color: oklch(47.7% 0.164 314.7);
Tailwind
colors: {
  custom: {
    50: '#a673b9',
    500: '#7e379b',
    950: '#000000',
  },
}
SCSS
$custom: #7e379b;
$custom-light: #a673b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e379b",
  "rgb": {
    "r": 126,
    "g": 55,
    "b": 155
  },
  "hsl": {
    "h": 282.6,
    "s": 47.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47715,
    "c": 0.16445,
    "h": 314.7
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

primary
#7E379B
secondary
#88BA74
accent
#D75178
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7E379B

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

Preview Lab → · Contrast checker → · Palette generator →

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