#7E359B#7E359B

#7E359B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.167 H 314.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7E359B
RGBrgb(126, 53, 155)
HSLhsl(283, 49%, 41%)
HSVhsv(283, 66%, 61%)
CMYKcmyk(18.7%, 65.8%, 0%, 39.2%)
CIE-LABlab(36.65, 47.95, -42.17)
CIE-LCHlch(36.65, 63.85, 318.67°)
OKLaboklab(47.46% 0.1182 -0.1185)
OKLCHoklch(47.46% 0.167 314.9)
XYZxyz(15.7927, 9.3489, 31.9766)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E359B #529B35
analogous
#4B359B #7E359B #9B3585
triadic
#7E359B #9B7E35 #359B7E
tetradic
#7E359B #9B4B35 #529B35 #35859B
square
#7E359B #9B4B35 #529B35 #35859B
split-complementary
#7E359B #859B35 #359B4B
monochromatic
#341640 #59256D #7E359B #A04CC2 #B879D1

Accessibility & contrast

On white

7.32
#7E359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7E359B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E359B
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E359B#FFFFFF#000000##FFFFFF
##7E359B1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07529E
Deuteranopia (green-blind)
#335899
Tritanopia (blue-blind)
#7C4863
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e359b;
/* rgb */ color: rgb(126, 53, 155);
/* oklch */ color: oklch(47.5% 0.167 314.9);
Tailwind
colors: {
  custom: {
    50: '#a671b9',
    500: '#7e359b',
    950: '#000000',
  },
}
SCSS
$custom: #7e359b;
$custom-light: #a671b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e359b",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 282.941,
    "s": 49.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47464,
    "c": 0.16732,
    "h": 314.9
  },
  "luminance": 0.09348
}

Semantic roles & 50–950 ramp

primary
#7E359B
secondary
#86BA72
accent
#D94F76
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7E359B

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

Preview Lab → · Contrast checker → · Palette generator →

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