#7E3697#7E3697

#7E3697 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.3% C 0.162 H 316.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7E3697
RGBrgb(126, 54, 151)
HSLhsl(285, 47%, 40%)
HSVhsv(285, 64%, 59%)
CMYKcmyk(16.6%, 64.2%, 0%, 40.8%)
CIE-LABlab(36.57, 46.62, -39.86)
CIE-LCHlch(36.57, 61.34, 319.46°)
OKLaboklab(47.33% 0.117 -0.1117)
OKLCHoklch(47.33% 0.162 316.3)
XYZxyz(15.5084, 9.3089, 30.2520)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3697 #4F9736
analogous
#4D3697 #7E3697 #97367F
triadic
#7E3697 #977E36 #36977E
tetradic
#7E3697 #974D36 #4F9736 #367F97
square
#7E3697 #974D36 #4F9736 #367F97
split-complementary
#7E3697 #7F9736 #36974D
monochromatic
#33163D #58266A #7E3697 #A14BBF #B978CF

Accessibility & contrast

On white

7.34
#7E3697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7E3697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E3697
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3697#FFFFFF#000000##FFFFFF
##7E36971.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529A
Deuteranopia (green-blind)
#375895
Tritanopia (blue-blind)
#7D4761
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e3697;
/* rgb */ color: rgb(126, 54, 151);
/* oklch */ color: oklch(47.3% 0.162 316.3);
Tailwind
colors: {
  custom: {
    50: '#a672b6',
    500: '#7e3697',
    950: '#000000',
  },
}
SCSS
$custom: #7e3697;
$custom-light: #a672b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3697",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 284.536,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4733,
    "c": 0.16179,
    "h": 316.3
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#7E3697
secondary
#83B871
accent
#D75173
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7E3697

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

Preview Lab → · Contrast checker → · Palette generator →

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