#7E379D#7E379D

#7E379D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.8% C 0.167 H 314.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7E379D
RGBrgb(126, 55, 157)
HSLhsl(282, 48%, 42%)
HSVhsv(282, 65%, 62%)
CMYKcmyk(19.7%, 65%, 0%, 38.4%)
CIE-LABlab(37.12, 47.43, -42.62)
CIE-LCHlch(37.12, 63.77, 318.06°)
OKLaboklab(47.85% 0.1157 -0.1198)
OKLCHoklch(47.85% 0.167 314)
XYZxyz(16.0552, 9.6028, 32.8995)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E379D #569D37
analogous
#4B379D #7E379D #9D3789
triadic
#7E379D #9D7E37 #379D7E
tetradic
#7E379D #9D4B37 #569D37 #37899D
square
#7E379D #9D4B37 #569D37 #37899D
split-complementary
#7E379D #899D37 #379D4B
monochromatic
#351742 #5A2770 #7E379D #9F50C2 #B87DD1

Accessibility & contrast

On white

7.19
#7E379D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7E379D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E379D
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E379D#FFFFFF#000000##FFFFFF
##7E379D1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A53A0
Deuteranopia (green-blind)
#33599B
Tritanopia (blue-blind)
#7B4A65
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7e379d;
/* rgb */ color: rgb(126, 55, 157);
/* oklch */ color: oklch(47.8% 0.167 314.0);
Tailwind
colors: {
  custom: {
    50: '#a673ba',
    500: '#7e379d',
    950: '#000000',
  },
}
SCSS
$custom: #7e379d;
$custom-light: #a673ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7e379d",
  "rgb": {
    "r": 126,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 281.765,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47846,
    "c": 0.16652,
    "h": 314
  },
  "luminance": 0.09602
}

Semantic roles & 50–950 ramp

primary
#7E379D
secondary
#8ABB75
accent
#D85079
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7E379D

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

Preview Lab → · Contrast checker → · Palette generator →

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