#7E359D#7E359D

#7E359D is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.6% C 0.169 H 314.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7E359D
RGBrgb(126, 53, 157)
HSLhsl(282, 50%, 41%)
HSVhsv(282, 66%, 62%)
CMYKcmyk(19.7%, 66.2%, 0%, 38.4%)
CIE-LABlab(36.77, 48.38, -43.17)
CIE-LCHlch(36.77, 64.84, 318.26°)
OKLaboklab(47.6% 0.1181 -0.1214)
OKLCHoklch(47.6% 0.169 314.2)
XYZxyz(15.9621, 9.4167, 32.8685)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E359D #549D35
analogous
#4A359D #7E359D #9D3588
triadic
#7E359D #9D7E35 #359D7E
tetradic
#7E359D #9D4A35 #549D35 #35889D
square
#7E359D #9D4A35 #549D35 #35889D
split-complementary
#7E359D #889D35 #359D4A
monochromatic
#351641 #59266F #7E359D #9F4CC3 #B87AD2

Accessibility & contrast

On white

7.28
#7E359D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7E359D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E359D
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E359D#FFFFFF#000000##FFFFFF
##7E359D1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0152A0
Deuteranopia (green-blind)
#31589B
Tritanopia (blue-blind)
#7B4964
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e359d;
/* rgb */ color: rgb(126, 53, 157);
/* oklch */ color: oklch(47.6% 0.169 314.2);
Tailwind
colors: {
  custom: {
    50: '#a772ba',
    500: '#7e359d',
    950: '#000000',
  },
}
SCSS
$custom: #7e359d;
$custom-light: #a772ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7e359d",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 157
  },
  "hsl": {
    "h": 282.115,
    "s": 49.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47597,
    "c": 0.16936,
    "h": 314.2
  },
  "luminance": 0.09416
}

Semantic roles & 50–950 ramp

primary
#7E359D
secondary
#88BB73
accent
#D94F78
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7E359D

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

Preview Lab → · Contrast checker → · Palette generator →

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