#7E4597#7E4597

#7E4597 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.4% C 0.138 H 314.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7E4597
RGBrgb(126, 69, 151)
HSLhsl(282, 37%, 43%)
HSVhsv(282, 54%, 59%)
CMYKcmyk(16.6%, 54.3%, 0%, 40.8%)
CIE-LABlab(39.46, 38.85, -35.28)
CIE-LCHlch(39.46, 52.48, 317.76°)
OKLaboklab(49.44% 0.0969 -0.0984)
OKLCHoklch(49.44% 0.138 314.5)
XYZxyz(16.3173, 10.9267, 30.5217)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4597 #5E9745
analogous
#554597 #7E4597 #974587
triadic
#7E4597 #977E45 #45977E
tetradic
#7E4597 #975545 #5E9745 #458797
square
#7E4597 #975545 #5E9745 #458797
split-complementary
#7E4597 #879745 #459755
monochromatic
#381F43 #5B326D #7E4597 #9D62B7 #B78CCA

Accessibility & contrast

On white

6.59
#7E4597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7E4597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4597
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4597#FFFFFF#000000##FFFFFF
##7E45971.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9A
Deuteranopia (green-blind)
#445E95
Tritanopia (blue-blind)
#7C5267
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e4597;
/* rgb */ color: rgb(126, 69, 151);
/* oklch */ color: oklch(49.4% 0.138 314.5);
Tailwind
colors: {
  custom: {
    50: '#a57bb6',
    500: '#7e4597',
    950: '#000000',
  },
}
SCSS
$custom: #7e4597;
$custom-light: #a57bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4597",
  "rgb": {
    "r": 126,
    "g": 69,
    "b": 151
  },
  "hsl": {
    "h": 281.707,
    "s": 37.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49437,
    "c": 0.13811,
    "h": 314.5
  },
  "luminance": 0.10926
}

Semantic roles & 50–950 ramp

primary
#7E4597
secondary
#92B682
accent
#CD5B7E
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7E4597

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

Preview Lab → · Contrast checker → · Palette generator →

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