#7E359C#7E359C

#7E359C is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.5% C 0.168 H 314.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7E359C
RGBrgb(126, 53, 156)
HSLhsl(283, 49%, 41%)
HSVhsv(283, 66%, 61%)
CMYKcmyk(19.2%, 66%, 0%, 38.8%)
CIE-LABlab(36.71, 48.17, -42.67)
CIE-LCHlch(36.71, 64.35, 318.46°)
OKLaboklab(47.53% 0.1181 -0.1199)
OKLCHoklch(47.53% 0.168 314.6)
XYZxyz(15.8771, 9.3826, 32.4207)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E359C #539C35
analogous
#4A359C #7E359C #9C3586
triadic
#7E359C #9C7E35 #359C7E
tetradic
#7E359C #9C4A35 #539C35 #35869C
square
#7E359C #9C4A35 #539C35 #35869C
split-complementary
#7E359C #869C35 #359C4A
monochromatic
#341641 #59256E #7E359C #A04CC2 #B87AD2

Accessibility & contrast

On white

7.30
#7E359C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E359C
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E359C#FFFFFF#000000##FFFFFF
##7E359C1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04529F
Deuteranopia (green-blind)
#32589A
Tritanopia (blue-blind)
#7B4964
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e359c;
/* rgb */ color: rgb(126, 53, 156);
/* oklch */ color: oklch(47.5% 0.168 314.6);
Tailwind
colors: {
  custom: {
    50: '#a771ba',
    500: '#7e359c',
    950: '#000000',
  },
}
SCSS
$custom: #7e359c;
$custom-light: #a771ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7e359c",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 156
  },
  "hsl": {
    "h": 282.524,
    "s": 49.282,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4753,
    "c": 0.16834,
    "h": 314.6
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#7E359C
secondary
#87BA72
accent
#D94F77
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7E359C

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

Preview Lab → · Contrast checker → · Palette generator →

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