#7E4697#7E4697

#7E4697 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 49.6% C 0.136 H 314.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7E4697
RGBrgb(126, 70, 151)
HSLhsl(281, 37%, 43%)
HSVhsv(281, 54%, 59%)
CMYKcmyk(16.6%, 53.6%, 0%, 40.8%)
CIE-LABlab(39.67, 38.30, -34.95)
CIE-LCHlch(39.67, 51.85, 317.62°)
OKLaboklab(49.59% 0.0955 -0.0975)
OKLCHoklch(49.59% 0.136 314.4)
XYZxyz(16.3794, 11.0508, 30.5423)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4697 #5F9746
analogous
#554697 #7E4697 #974687
triadic
#7E4697 #977E46 #46977E
tetradic
#7E4697 #975546 #5F9746 #468797
square
#7E4697 #975546 #5F9746 #468797
split-complementary
#7E4697 #879746 #469755
monochromatic
#381F43 #5B336D #7E4697 #9D63B7 #B78DCA

Accessibility & contrast

On white

6.54
#7E4697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7E4697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4697
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4697#FFFFFF#000000##FFFFFF
##7E46971.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A9A
Deuteranopia (green-blind)
#455F95
Tritanopia (blue-blind)
#7C5368
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e4697;
/* rgb */ color: rgb(126, 70, 151);
/* oklch */ color: oklch(49.6% 0.136 314.4);
Tailwind
colors: {
  custom: {
    50: '#a57cb6',
    500: '#7e4697',
    950: '#000000',
  },
}
SCSS
$custom: #7e4697;
$custom-light: #a57cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4697",
  "rgb": {
    "r": 126,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 281.481,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49591,
    "c": 0.13644,
    "h": 314.4
  },
  "luminance": 0.1105
}

Semantic roles & 50–950 ramp

primary
#7E4697
secondary
#93B683
accent
#CD5B7E
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7E4697

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

Preview Lab → · Contrast checker → · Palette generator →

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