#7E359F#7E359F

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

Color values

HEX#7E359F
RGBrgb(126, 53, 159)
HSLhsl(281, 50%, 42%)
HSVhsv(281, 67%, 62%)
CMYKcmyk(20.8%, 66.7%, 0%, 37.6%)
CIE-LABlab(36.90, 48.82, -44.17)
CIE-LCHlch(36.90, 65.84, 317.86°)
OKLaboklab(47.73% 0.118 -0.1243)
OKLCHoklch(47.73% 0.171 313.5)
XYZxyz(16.1342, 9.4855, 33.7751)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E359F #569F35
analogous
#49359F #7E359F #9F358B
triadic
#7E359F #9F7E35 #359F7E
tetradic
#7E359F #9F4935 #569F35 #358B9F
square
#7E359F #9F4935 #569F35 #358B9F
split-complementary
#7E359F #8B9F35 #359F49
monochromatic
#351643 #5A2671 #7E359F #9F4DC4 #B87BD3

Accessibility & contrast

On white

7.25
#7E359F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7E359F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E359F
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E359F#FFFFFF#000000##FFFFFF
##7E359F1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#2F599D
Tritanopia (blue-blind)
#7B4A65
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7e359f;
/* rgb */ color: rgb(126, 53, 159);
/* oklch */ color: oklch(47.7% 0.171 313.5);
Tailwind
colors: {
  custom: {
    50: '#a772bc',
    500: '#7e359f',
    950: '#000000',
  },
}
SCSS
$custom: #7e359f;
$custom-light: #a772bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e359f",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 159
  },
  "hsl": {
    "h": 281.321,
    "s": 50,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4773,
    "c": 0.1714,
    "h": 313.5
  },
  "luminance": 0.09485
}

Semantic roles & 50–950 ramp

primary
#7E359F
secondary
#8ABC74
accent
#DA4E7A
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7E359F

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

Preview Lab → · Contrast checker → · Palette generator →

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